136
|
1 #ifndef __FXANALISE_PLOT_H__
|
|
2 #define __FXANALISE_PLOT_H__
|
0
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff
changeset
|
3
|
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff
changeset
|
4 #define MAXPOINTSNUMBER 10000
|
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff
changeset
|
5
|
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff
changeset
|
6 typedef struct {
|
135
|
7 int PlotPanel; /* display panel handle */
|
|
8 int IndexPoint; /* data points number */
|
|
9 double *Frequencies; /* data points */
|
|
10 double Mean; /* data computed at each value insertion */
|
|
11 double Slope;
|
|
12 double ADev;
|
|
13 int active; /* active */
|
|
14 int parent; /* panel containig the activation control */
|
|
15 int control; /* activation control handle */
|
|
16 } Plot_Data;
|
0
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff
changeset
|
17
|
135
|
18 void Plot_InitPanel(Plot_Data * Instance, const char *title, double ymin, double ymax, int parent, int control);
|
|
19 void Plot_ClosePanel(Plot_Data * Instance);
|
|
20 void Plot_AddFrequency(Plot_Data * Instance, double Freq);
|
0
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff
changeset
|
21
|
135
|
22 #endif
|