projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added Boxplots to the EXAMINE subcommand repertoire
[pspp-builds.git]
/
src
/
chart.h
diff --git
a/src/chart.h
b/src/chart.h
index f2c9e501471151cc7282864f05bda72748070e4f..eec5bff5b847a1d6d3b679c28156919c1b8651bd 100644
(file)
--- a/
src/chart.h
+++ b/
src/chart.h
@@
-61,7
+61,7
@@
struct chart {
char fill_colour[10];
char fill_colour[10];
- /* Stuff Particular to Cartesians */
+ /* Stuff Particular to Cartesians
(and Boxplots )
*/
double ordinate_scale;
double abscissa_scale;
double x_min;
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);
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
{
enum CHART_DIM
{