Mercurial > repos > ktnyt > gembassy
comparison GEMBASSY-1.0.3/include/gplot.h @ 2:8947fca5f715 draft default tip
Uploaded
| author | ktnyt |
|---|---|
| date | Fri, 26 Jun 2015 05:21:44 -0400 |
| parents | 84a17b3fad1f |
| children |
comparison
equal
deleted
inserted
replaced
| 1:84a17b3fad1f | 2:8947fca5f715 |
|---|---|
| 1 #ifndef GPLOT_H | |
| 2 #define GPLOT_H | |
| 3 | |
| 4 #include "emboss.h" | |
| 5 | |
| 6 /* @datastatic gPlotParams***************************************************** | |
| 7 ** | |
| 8 ** gPlot plotting parameters | |
| 9 ** | |
| 10 ** @attr data [float**] Data used to plot | |
| 11 ** @attr setNum [size_t] Number of data sets | |
| 12 ** @attr typeNum [size_t] Number of data types | |
| 13 ** @attr dataNum [size_t] Number of data in set | |
| 14 ** @attr height [ajint] Height of graph - To be supported | |
| 15 ** @attr width [ajint] Width of graph - To be supported | |
| 16 ** @attr title [AjPStr] Graph title | |
| 17 ** @attr xlab [AjPStr] Label for X axis | |
| 18 ** @attr ylab [AjPStr] Label for Y axis | |
| 19 ** @attr names [AjPPStr] name of each data type | |
| 20 ** @@ | |
| 21 ******************************************************************************/ | |
| 22 | |
| 23 typedef struct gPlotStruct | |
| 24 { | |
| 25 float **data; | |
| 26 size_t setNum; | |
| 27 size_t typeNum; | |
| 28 size_t dataNum; | |
| 29 /*ajint width Not supported yet! ;*/ | |
| 30 /*ajint height Not supported yet! ;*/ | |
| 31 AjPStr title; | |
| 32 AjPStr xlab; | |
| 33 AjPStr ylab; | |
| 34 AjPPStr names; | |
| 35 } gPlotParams; | |
| 36 | |
| 37 /* | |
| 38 ** Prototype Definitions | |
| 39 */ | |
| 40 | |
| 41 AjBool gPlotFilebuff(AjPFilebuff buff, AjPGraph graphs, gPlotParams *gpp); | |
| 42 AjBool gPlotData(AjPGraph graphs, gPlotParams *gpp); | |
| 43 AjBool gPlotFlip(gPlotParams *gpp); | |
| 44 | |
| 45 #endif |
