X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fcharts%2Fdummy-chart.c;h=e00a41f7aa7a49629c8c418a95d4a64b892ea2f6;hb=f24649a9286df6c3c194186b03cf33c87ae19fb7;hp=e57dc216886b099bf0fa0aadbda06d470db942e4;hpb=43b1296aafe7582e7dbe6c2b6a8b478d7d9b0fcf;p=pspp-builds.git diff --git a/src/output/charts/dummy-chart.c b/src/output/charts/dummy-chart.c index e57dc216..e00a41f7 100644 --- a/src/output/charts/dummy-chart.c +++ b/src/output/charts/dummy-chart.c @@ -32,94 +32,108 @@ #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 UNUSED, const char *title UNUSED, ...) +chart_vector_end (struct chart *ch UNUSED) { } +void +chart_vector_start (struct chart *ch UNUSED, const char *name UNUSED) +{ +} void -chart_submit(struct chart *chart UNUSED) +chart_write_title (struct chart *chart UNUSED, const char *title UNUSED, ...) { } void -chart_write_xscale(struct chart *ch UNUSED, - double min UNUSED, double max UNUSED, int ticks UNUSED) +chart_write_xscale (struct chart *ch UNUSED, + double min UNUSED, double max UNUSED, int ticks UNUSED) { } void -chart_write_yscale(struct chart *ch UNUSED UNUSED, - double smin UNUSED, double smax UNUSED, int ticks UNUSED) +chart_write_yscale (struct chart *ch UNUSED UNUSED, + double smin UNUSED, double smax UNUSED, int ticks UNUSED) { } void -chart_write_xlabel(struct chart *ch UNUSED, const char *label UNUSED) +chart_write_xlabel (struct chart *ch UNUSED, const char *label UNUSED) { } void -chart_write_ylabel(struct chart *ch UNUSED, const char *label UNUSED) +chart_write_ylabel (struct chart *ch UNUSED, const char *label UNUSED) { } void -chart_line(struct chart *ch UNUSED, - double slope UNUSED, double intercept UNUSED, - double limit1 UNUSED, double limit2 UNUSED, - enum CHART_DIM lim_dim UNUSED) +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 -chart_datum(struct chart *ch UNUSED, int dataset UNUSED UNUSED, - double x UNUSED, double y UNUSED) +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 -histogram_plot(const gsl_histogram *hist UNUSED, - const char *factorname UNUSED, - const struct normal_curve *norm UNUSED, - short show_normal UNUSED) +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 -boxplot_draw_yscale(struct chart *ch UNUSED, - double y_max UNUSED, double y_min UNUSED) +boxplot_draw_yscale (struct chart *ch UNUSED, + double y_max UNUSED, double y_min UNUSED) { } void -boxplot_draw_boxplot(struct chart *ch UNUSED, - double box_centre UNUSED, - double box_width UNUSED, - struct metrics *m UNUSED, - const char *name UNUSED) +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 -piechart_plot(const char *title UNUSED, - const struct slice *slices UNUSED, int n_slices UNUSED) +piechart_plot (const char *title UNUSED, + const struct slice *slices UNUSED, int n_slices UNUSED) { }