projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix description of "count" in Auxiliary Variable Parameter Record.
[pspp]
/
src
/
chart.h
diff --git
a/src/chart.h
b/src/chart.h
index eec5bff5b847a1d6d3b679c28156919c1b8651bd..c0ab0a2063106397e8c13205cb378521c0595f6a 100644
(file)
--- a/
src/chart.h
+++ b/
src/chart.h
@@
-14,19
+14,22
@@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 5
9 Temple Place - Suite 330
, Boston, MA
- 0211
1-1307
, USA. */
+ Foundation, Inc., 5
1 Franklin Street, Fifth Floor
, Boston, MA
+ 0211
0-1301
, USA. */
#ifndef CHART_H
#define CHART_H
#ifndef CHART_H
#define CHART_H
+#include <config.h>
#include <stdio.h>
#include <stdio.h>
-#include <plot.h>
#include <gsl/gsl_histogram.h>
#include <gsl/gsl_histogram.h>
-
#include "var.h"
#include "var.h"
+#ifndef NO_CHARTS
+#include <plot.h>
+#endif
+
/* Array of standard colour names */
extern const char *data_colour[];
/* Array of standard colour names */
extern const char *data_colour[];
@@
-34,8
+37,14
@@
extern const char *data_colour[];
struct chart {
struct chart {
+#ifndef NO_CHARTS
plPlotter *lp ;
plPlotterParams *pl_params;
plPlotter *lp ;
plPlotterParams *pl_params;
+#else
+ void *lp;
+#endif
+ char *filename;
+ FILE *file;
/* The geometry of the chart
See diagram at the foot of this file.
/* The geometry of the chart
See diagram at the foot of this file.
@@
-72,10
+81,8
@@
struct chart {
};
};
-int chart_initialise(struct chart *ch);
-
-void chart_finalise(struct chart *ch);
-
+struct chart * chart_create(void);
+void chart_submit(struct chart *ch);
double chart_rounded_tick(double tick);
double chart_rounded_tick(double tick);