annotate GEMBASSY-1.0.3/include/gplot.h @ 0:8300eb051bea draft

Initial upload
author ktnyt
date Fri, 26 Jun 2015 05:19:29 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
1 #ifndef GPLOT_H
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
2 #define GPLOT_H
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
3
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
4 #include "emboss.h"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
5
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
6 /* @datastatic gPlotParams*****************************************************
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
7 **
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
8 ** gPlot plotting parameters
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
9 **
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
10 ** @attr data [float**] Data used to plot
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
11 ** @attr setNum [size_t] Number of data sets
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
12 ** @attr typeNum [size_t] Number of data types
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
13 ** @attr dataNum [size_t] Number of data in set
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
14 ** @attr height [ajint] Height of graph - To be supported
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
15 ** @attr width [ajint] Width of graph - To be supported
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
16 ** @attr title [AjPStr] Graph title
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
17 ** @attr xlab [AjPStr] Label for X axis
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
18 ** @attr ylab [AjPStr] Label for Y axis
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
19 ** @attr names [AjPPStr] name of each data type
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
20 ** @@
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
21 ******************************************************************************/
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
22
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
23 typedef struct gPlotStruct
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
24 {
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
25 float **data;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
26 size_t setNum;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
27 size_t typeNum;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
28 size_t dataNum;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
29 /*ajint width Not supported yet! ;*/
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
30 /*ajint height Not supported yet! ;*/
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
31 AjPStr title;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
32 AjPStr xlab;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
33 AjPStr ylab;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
34 AjPPStr names;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
35 } gPlotParams;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
36
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
37 /*
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
38 ** Prototype Definitions
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
39 */
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
40
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
41 AjBool gPlotFilebuff(AjPFilebuff buff, AjPGraph graphs, gPlotParams *gpp);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
42 AjBool gPlotData(AjPGraph graphs, gPlotParams *gpp);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
43 AjBool gPlotFlip(gPlotParams *gpp);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
44
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
45 #endif