projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix problem building with --without-libplot
[pspp-builds.git]
/
src
/
output
/
charts
/
dummy-chart.c
diff --git
a/src/output/charts/dummy-chart.c
b/src/output/charts/dummy-chart.c
index 21238d039fa1ebedd18dd2752cd743c3f6151b29..e00a41f7aa7a49629c8c418a95d4a64b892ea2f6 100644
(file)
--- a/
src/output/charts/dummy-chart.c
+++ b/
src/output/charts/dummy-chart.c
@@
-1,20
+1,18
@@
-/* PSPP -
computes sample statistic
s.
+/* PSPP -
a program for statistical analysi
s.
Copyright (C) 2005 Free Software Foundation, Inc.
Copyright (C) 2005 Free Software Foundation, Inc.
- This program is free software
; you can redistribute it and/or
- modify it under the terms of the GNU General Public License as
- published by the Free Software Foundation; either version 2 of the
-
License, or
(at your option) any later version.
+ This program is free software
: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
- This program is distributed in the hope that it will be useful,
but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU
- General Public License for more details.
+ This program is distributed in the hope that it will be useful,
+
but
WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ G
NU G
eneral Public License for more details.
You should have received a copy of the GNU General Public License
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., 51 Franklin Street, Fifth Floor, Boston, MA
- 02110-1301, USA. */
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Stubs for plotting routines.
/* Stubs for plotting routines.
@@
-22,96
+20,120
@@
#include "config.h"
#include <output/chart.h>
#include "config.h"
#include <output/chart.h>
+#include <output/charts/box-whisker.h>
+#include <output/charts/piechart.h>
#include <output/charts/plot-chart.h>
#include <output/charts/plot-chart.h>
+#include <output/charts/plot-hist.h>
#include <output/charts/cartesian.h>
#include <gsl/gsl_histogram.h>
#include <libpspp/compiler.h>
#include <output/charts/cartesian.h>
#include <gsl/gsl_histogram.h>
#include <libpspp/compiler.h>
-
#ifndef NO_CHARTS
#error This file should be used only when compiling without charts.
#endif
#ifndef NO_CHARTS
#error This file should be used only when compiling without charts.
#endif
-struct chart *
-chart_
create(void
)
+void
+chart_
write_legend (struct chart *ch UNUSED
)
{
{
- return 0;
}
}
+void
+chart_vector (struct chart *ch UNUSED, double x UNUSED, double y UNUSED)
+{
+}
-void
-chart_
write_title(struct chart *chart, const char *title, ...
)
+void
+chart_
vector_end (struct chart *ch UNUSED
)
{
}
{
}
+void
+chart_vector_start (struct chart *ch UNUSED, const char *name UNUSED)
+{
+}
void
void
-chart_
submit(struct chart *chart
)
+chart_
write_title (struct chart *chart UNUSED, const char *title UNUSED, ...
)
{
}
{
}
-void
-chart_write_xscale(struct chart *ch, double min, double max, int ticks)
+void
+chart_write_xscale (struct chart *ch UNUSED,
+ double min UNUSED, double max UNUSED, int ticks UNUSED)
{
}
{
}
-void
-chart_write_yscale(struct chart *ch, double smin, double smax, int ticks)
+void
+chart_write_yscale (struct chart *ch UNUSED UNUSED,
+ double smin UNUSED, double smax UNUSED, int ticks UNUSED)
{
}
{
}
-void
-chart_write_xlabel
(struct chart *ch, const char *label
)
+void
+chart_write_xlabel
(struct chart *ch UNUSED, const char *label UNUSED
)
{
}
{
}
-void
-chart_write_ylabel
(struct chart *ch, const char *label
)
+void
+chart_write_ylabel
(struct chart *ch UNUSED, const char *label UNUSED
)
{
}
void
{
}
void
-chart_line(struct chart *ch, double slope, double intercept,
- double limit1, double limit2, enum CHART_DIM lim_dim)
+chart_line (struct chart *ch UNUSED,
+ double slope UNUSED, double intercept UNUSED,
+ double limit1 UNUSED, double limit2 UNUSED,
+ enum CHART_DIM lim_dim UNUSED)
{
}
void
{
}
void
-chart_datum(struct chart *ch, int dataset UNUSED, double x, double y)
+chart_datum (struct chart *ch UNUSED, int dataset UNUSED UNUSED,
+ double x UNUSED, double y UNUSED)
{
}
{
}
-struct normal_curve;
+void
+histogram_plot (const struct histogram *hist UNUSED,
+ const char *label UNUSED,
+ const struct moments1 *m UNUSED)
+{
+}
void
void
-histogram_plot(const gsl_histogram *hist,
- const char *factorname,
- const struct normal_curve *norm, short show_normal)
+histogram_plot_n (const struct histogram *hist UNUSED,
+ const char *label UNUSED,
+ double n UNUSED, double mean UNUSED, double stddev UNUSED,
+ bool show_normal UNUSED)
{
}
{
}
+
void
void
-boxplot_draw_yscale(struct chart *ch , double y_max, double y_min)
+boxplot_draw_yscale (struct chart *ch UNUSED,
+ double y_max UNUSED, double y_min UNUSED)
{
}
{
}
-void
-boxplot_draw_boxplot
(struct chart *ch
,
- double box_centre,
-
double box_width
,
-
struct metrics *m
,
-
const char *name
)
+void
+boxplot_draw_boxplot
(struct chart *ch UNUSED
,
+ double box_centre UNUSED,
+
double box_width UNUSED
,
+
const struct box_whisker *w UNUSED
,
+
const char *name UNUSED
)
{
}
{
}
+
void
void
-piechart_plot(const char *title, const struct slice *slices, int n_slices)
+piechart_plot (const char *title UNUSED,
+ const struct slice *slices UNUSED, int n_slices UNUSED)
{
}
{
}