projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adopt GSL random number generators, paving the way for providing the
[pspp]
/
src
/
histogram.c
diff --git
a/src/histogram.c
b/src/histogram.c
index 27e7b4b13cff7b736a1f5044e196b2c2f2604ca3..5429a90321f863e323eae1666ddccec060849df0 100644
(file)
--- a/
src/histogram.c
+++ b/
src/histogram.c
@@
-78,6
+78,7
@@
write_legend(struct chart *ch, struct normal_curve *norm)
void
draw_histogram(struct chart *ch,
const struct variable *var,
void
draw_histogram(struct chart *ch,
const struct variable *var,
+ const struct freq_tab *frq_tab,
const char *title,
struct normal_curve *norm,
int show_normal)
const char *title,
struct normal_curve *norm,
int show_normal)
@@
-96,8
+97,6
@@
draw_histogram(struct chart *ch,
double ordinate_values[BINS];
double ordinate_values[BINS];
- const struct freq_tab *frq_tab = &var->p.frq.tab ;
-
struct hsh_iterator hi;
struct hsh_table *fh = frq_tab->data;
struct freq *frq;
struct hsh_iterator hi;
struct hsh_table *fh = frq_tab->data;
struct freq *frq;