projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Wrap operations which index into reverse_variable_map
[pspp-builds.git]
/
src
/
output
/
charts
/
box-whisker.c
diff --git
a/src/output/charts/box-whisker.c
b/src/output/charts/box-whisker.c
index 4878221d024e5e2a83710690b2bfa609b13aab54..33c445b09a61b0ef36714272bd221bfd2cd9f741 100644
(file)
--- a/
src/output/charts/box-whisker.c
+++ b/
src/output/charts/box-whisker.c
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* PSPP - a program for statistical analysis.
- Copyright (C) 2004, 2008 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2008
, 2009
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-63,6
+63,7
@@
boxplot_draw_boxplot (struct chart *ch,
{
double whisker[2];
double hinge[3];
{
double whisker[2];
double hinge[3];
+ struct ll *ll;
const struct ll_list *outliers;
const struct ll_list *outliers;
@@
-138,7
+139,7
@@
boxplot_draw_boxplot (struct chart *ch,
box_centre, box_top);
outliers = box_whisker_outliers (bw);
box_centre, box_top);
outliers = box_whisker_outliers (bw);
- for (
struct ll *
ll = ll_head (outliers);
+ for (ll = ll_head (outliers);
ll != ll_null (outliers); ll = ll_next (ll))
{
const struct outlier *outlier = ll_data (ll, struct outlier, ll);
ll != ll_null (outliers); ll = ll_next (ll))
{
const struct outlier *outlier = ll_data (ll, struct outlier, ll);
@@
-146,7
+147,7
@@
boxplot_draw_boxplot (struct chart *ch,
}
/* Draw tick mark on x axis */
}
/* Draw tick mark on x axis */
- draw_tick(ch, TICK_ABSCISSA, box_centre - ch->data_left, name);
+ draw_tick(ch, TICK_ABSCISSA, box_centre - ch->data_left,
"%s",
name);
pl_restorestate_r(ch->lp);
}
pl_restorestate_r(ch->lp);
}