X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fcharts%2Fplot-chart.h;h=f5bd6f385afcc877687eaad2f5e625710d0e15a0;hb=897cec8000d45a5afc618fdb9e8fdd597c7b81ba;hp=e8bb7d42ce8befdbcbf27c4e2bfb2e68959771c4;hpb=a19b858e0ac3c69e4a28c0ca6d8674427268a863;p=pspp-builds.git diff --git a/src/output/charts/plot-chart.h b/src/output/charts/plot-chart.h index e8bb7d42..f5bd6f38 100644 --- a/src/output/charts/plot-chart.h +++ b/src/output/charts/plot-chart.h @@ -40,7 +40,7 @@ #define PLOT_CHART_H -extern const char *data_colour[]; +extern const char *const data_colour[]; enum tick_orientation { TICK_ABSCISSA=0, @@ -68,5 +68,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