projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
render: Add comment.
[pspp]
/
src
/
language
/
stats
/
graph.c
diff --git
a/src/language/stats/graph.c
b/src/language/stats/graph.c
index 93ecc72b65a88d7dfa981de3ee7010af60a9a656..b60ed2fdff47f7d31c05d1f3aadbbdcaf1d2f112 100644
(file)
--- a/
src/language/stats/graph.c
+++ b/
src/language/stats/graph.c
@@
-374,7
+374,7
@@
show_histogr (const struct graph *cmd, struct casereader *input)
moments_calculate (cmd->es[0].mom, &n, &mean, &var, NULL, NULL);
chart_item_submit
moments_calculate (cmd->es[0].mom, &n, &mean, &var, NULL, NULL);
chart_item_submit
- (
histogram_chart_create (histogram->gsl_hist,
+ (histogram_chart_create (histogram->gsl_hist,
ds_cstr (&label), n, mean,
sqrt (var), cmd->normal));
ds_cstr (&label), n, mean,
sqrt (var), cmd->normal));
@@
-402,7
+402,7
@@
run_barchart (struct graph *cmd, struct casereader *input)
struct casereader *group;
double ccc = 0.0;
struct casereader *group;
double ccc = 0.0;
- if (
cmd->missing_pw == false)
+ if (cmd->missing_pw == false)
input = casereader_create_filter_missing (input,
cmd->dep_vars,
cmd->n_dep_vars,
input = casereader_create_filter_missing (input,
cmd->dep_vars,
cmd->n_dep_vars,
@@
-587,7
+587,7
@@
run_graph (struct graph *cmd, struct casereader *input)
/* Always remove cases listwise. This is correct for */
/* the histogram because there is only one variable */
/* and a simple bivariate scatterplot */
/* Always remove cases listwise. This is correct for */
/* the histogram because there is only one variable */
/* and a simple bivariate scatterplot */
- /* if (
cmd->missing_pw == false) */
+ /* if (cmd->missing_pw == false) */
input = casereader_create_filter_missing (input,
cmd->dep_vars,
cmd->n_dep_vars,
input = casereader_create_filter_missing (input,
cmd->dep_vars,
cmd->n_dep_vars,
@@
-801,7
+801,7
@@
cmd_graph (struct lexer *lexer, struct dataset *ds)
}
else
{
}
else
{
- lex_error_expecting (lexer, "BIVARIATE"
, NULL
);
+ lex_error_expecting (lexer, "BIVARIATE");
goto error;
}
if (!lex_force_match (lexer, T_RPAREN))
goto error;
}
if (!lex_force_match (lexer, T_RPAREN))
@@
-953,7
+953,7
@@
cmd_graph (struct lexer *lexer, struct dataset *ds)
case CT_BAR:
break;
case CT_NONE:
case CT_BAR:
break;
case CT_NONE:
- lex_error_expecting (lexer, "HISTOGRAM", "SCATTERPLOT", "BAR"
, NULL
);
+ lex_error_expecting (lexer, "HISTOGRAM", "SCATTERPLOT", "BAR");
goto error;
default:
NOT_REACHED ();
goto error;
default:
NOT_REACHED ();