annotate Plot.h @ 106:c1a3b6ef94fe

New build
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Mon, 08 Apr 2013 18:11:12 +0200
parents d9aae7d7f2c6
children bd28161e5ac2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
1 #include "YLCStuff.h"
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
2
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
3 #define MAXPOINTSNUMBER 10000
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
4
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
5 typedef struct {
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
6 PanelHandle PlotPanel ; // le handle sur le graphe
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
7 void (*OnClosePanel)(int); // pointer on a function to execute when the panel is closed (argument is the panel Handle)
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
8 int IndexPoint ; // le nombre de points à plotter
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
9 double * Frequencies ; // les valeurs à plotter (alloué dynamiquement par le constructeur...)
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
10 double Mean, Slope, ADev ; // les valeurs de moyenne, pente et deviation d'Allan calculés au fur et à mesure
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
11 } Plot_Data ;
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
12
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
13
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
14 int Plot_InitPanel(Plot_Data * Instance, char * title, double PlotMin, double PlotMax, void (*OnCloseFunc)()) ;
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
15 int Plot_ClosePanel(Plot_Data * Instance) ;
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
16
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
17 int Plot_AddFrequency(Plot_Data * Instance, double Freq) ;
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
18
Daniele Nicolodi <daniele.nicolodi@obspm.fr>
parents:
diff changeset
19