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/plot-chart.h>
26 #include <output/charts/cartesian.h>
27 #include <gsl/gsl_histogram.h>
28 #include <libpspp/compiler.h>
32 #error This file should be used only when compiling without charts.
43 chart_write_title(struct chart *chart, const char *title, ...)
49 chart_submit(struct chart *chart)
55 chart_write_xscale(struct chart *ch, double min, double max, int ticks)
61 chart_write_yscale(struct chart *ch, double smin, double smax, int ticks)
67 chart_write_xlabel(struct chart *ch, const char *label)
72 chart_write_ylabel(struct chart *ch, const char *label)
78 chart_line(struct chart *ch, double slope, double intercept,
79 double limit1, double limit2, enum CHART_DIM lim_dim)
85 chart_datum(struct chart *ch, int dataset UNUSED, double x, double y)
92 histogram_plot(const gsl_histogram *hist,
93 const char *factorname,
94 const struct normal_curve *norm, short show_normal)
99 boxplot_draw_yscale(struct chart *ch , double y_max, double y_min)
104 boxplot_draw_boxplot(struct chart *ch,
115 piechart_plot(const char *title, const struct slice *slices, int n_slices)