X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fchart.h;h=eec5bff5b847a1d6d3b679c28156919c1b8651bd;hb=46cc6dd316280579f5b03dfd39d01bc7daf88df7;hp=f2c9e501471151cc7282864f05bda72748070e4f;hpb=4239c455e7b1061b7c960b793f9080e113123845;p=pspp-builds.git diff --git a/src/chart.h b/src/chart.h index f2c9e501..eec5bff5 100644 --- a/src/chart.h +++ b/src/chart.h @@ -61,7 +61,7 @@ struct chart { char fill_colour[10]; - /* Stuff Particular to Cartesians */ + /* Stuff Particular to Cartesians (and Boxplots ) */ double ordinate_scale; double abscissa_scale; double x_min; @@ -166,8 +166,18 @@ void chart_write_yscale(struct chart *ch, void chart_datum(struct chart *ch, int dataset, double x, double y); +struct metrics; +void boxplot_draw_boxplot(struct chart *ch, + double box_centre, + double box_width, + struct metrics *m, + const char *name); + + +void boxplot_draw_yscale(struct chart *ch , double y_max, double y_min); + enum CHART_DIM {