-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplot.hpp
More file actions
25 lines (18 loc) · 758 Bytes
/
plot.hpp
File metadata and controls
25 lines (18 loc) · 758 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef _PLOT_HPP
#define _PLOT_HPP
#include <stdlib.h>
#include "cpgplot.h"
#include "sigproc_header.hpp"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <alloca.h>
#include <libgen.h>
extern char *pgplot_dev; // device for pgplot
extern float char_size; // character size
/* graphics part */
void plotting (double **array, unsigned long size, char *outname, double plow, double phigh, char *prespres, char *elapsed_time, int argc, char *argv[], int next, double tres, int nbins, int mbins, int pbins, double dm, bool is_zero_padding, double snrmax_p[3][5], float **profiles, SigprocHeader& sigobj);
// get tics major interval
long gettics (float min, float max, int mult[], int sz);
#endif //#ifndef _PLOT_HPP