1 /* PSPP - computes sample statistics.
2 Copyright (C) 2005 Free Software Foundation, Inc.
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the GNU General Public License as
6 published by the Free Software Foundation; either version 2 of the
7 License, or (at your option) any later version.
9 This program is distributed in the hope that it will be useful, but
10 WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20 /* Stubs for plotting routines.
21 This module is linked only when charts are not supported */
24 #include <output/chart.h>
25 #include <output/charts/box-whisker.h>
26 #include <output/charts/piechart.h>
27 #include <output/charts/plot-chart.h>
28 #include <output/charts/plot-hist.h>
29 #include <output/charts/cartesian.h>
30 #include <gsl/gsl_histogram.h>
31 #include <libpspp/compiler.h>
34 #error This file should be used only when compiling without charts.
45 chart_write_title(struct chart *chart UNUSED, const char *title UNUSED, ...)
51 chart_submit(struct chart *chart UNUSED)
57 chart_write_xscale(struct chart *ch UNUSED,
58 double min UNUSED, double max UNUSED, int ticks UNUSED)
64 chart_write_yscale(struct chart *ch UNUSED UNUSED,
65 double smin UNUSED, double smax UNUSED, int ticks UNUSED)
71 chart_write_xlabel(struct chart *ch UNUSED, const char *label UNUSED)
76 chart_write_ylabel(struct chart *ch UNUSED, const char *label UNUSED)
82 chart_line(struct chart *ch UNUSED,
83 double slope UNUSED, double intercept UNUSED,
84 double limit1 UNUSED, double limit2 UNUSED,
85 enum CHART_DIM lim_dim UNUSED)
91 chart_datum(struct chart *ch UNUSED, int dataset UNUSED UNUSED,
92 double x UNUSED, double y UNUSED)
99 histogram_plot(const gsl_histogram *hist UNUSED,
100 const char *factorname UNUSED,
101 const struct normal_curve *norm UNUSED,
102 short show_normal UNUSED)
107 boxplot_draw_yscale(struct chart *ch UNUSED,
108 double y_max UNUSED, double y_min UNUSED)
113 boxplot_draw_boxplot(struct chart *ch UNUSED,
114 double box_centre UNUSED,
115 double box_width UNUSED,
116 struct metrics *m UNUSED,
117 const char *name UNUSED)
124 piechart_plot(const char *title UNUSED,
125 const struct slice *slices UNUSED, int n_slices UNUSED)