File: plotdata.h

package info (click to toggle)
plotdrop 0.5.2-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 236 kB
  • ctags: 130
  • sloc: ansic: 1,040; makefile: 63
file content (42 lines) | stat: -rw-r--r-- 1,060 bytes parent folder | download | duplicates (2)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42

/* PlotDrop is free software, released under the GNU General Public License
 * See the COPYING file for licensing details.
 *
 * Copyright 2005 John Spray
 */


#ifndef PLOTDATA_H
#define PLOTDATA_H

typedef struct plotdata {
	char **paths;
	char **titles;
	int *series;
	int count;
	char const *xlabel;
	char const *ylabel;
	char const *title;
	enum {STYLE_POINTS = 0, STYLE_LINES, STYLE_LINESPOINTS, STYLE_CSPLINES,                                                         
		STYLE_ACSPLINES, STYLE_BEZIER, STYLE_SBEZIER, STYLE_UNIQUE,  
		STYLE_FREQUENCY} style;
	unsigned int zeroaxis;
	unsigned int errorbars;
	unsigned int grid;
	float xmin, xmax, ymin, ymax;
	unsigned int xminset, xmaxset, yminset, ymaxset;
	char *extra;
	unsigned int enhancedmode;
	unsigned int logscaley;
	unsigned int logscalex;
} plotdata;

typedef enum {
	FORMAT_PS = 0, FORMAT_COLORPS, FORMAT_EPS, FORMAT_COLOREPS,	FORMAT_PNG,
	FORMAT_SVG, FORMAT_PSLATEX, FORMAT_COLORPSLATEX, FORMAT_XFIG,
	FORMAT_COUNT
	} exportformat;

extern char* exportformat_names[];

#endif //PLOTDATA_H