X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fcharts%2Fplot-chart.h;h=189d2888b32d2f573c14084a9fef71b10aa4e10a;hb=3b76a8aa4e808b2e6bdb792c369fda72a61304de;hp=e8bb7d42ce8befdbcbf27c4e2bfb2e68959771c4;hpb=a19b858e0ac3c69e4a28c0ca6d8674427268a863;p=pspp diff --git a/src/output/charts/plot-chart.h b/src/output/charts/plot-chart.h index e8bb7d42ce..189d2888b3 100644 --- a/src/output/charts/plot-chart.h +++ b/src/output/charts/plot-chart.h @@ -1,6 +1,5 @@ /* PSPP - computes sample statistics. Copyright (C) 2004 Free Software Foundation, Inc. - Written by John Darrington This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -40,7 +39,7 @@ #define PLOT_CHART_H -extern const char *data_colour[]; +extern const char *const data_colour[]; enum tick_orientation { TICK_ABSCISSA=0, @@ -68,5 +67,9 @@ void chart_write_xscale(struct chart *ch, double min, double max, int ticks); /* Set the scale for the ordinate */ void chart_write_yscale(struct chart *ch, double smin, double smax, int ticks); +void chart_write_xlabel(struct chart *ch, const char *label) ; + +/* Write the ordinate label */ +void chart_write_ylabel(struct chart *ch, const char *label); #endif