From: Friedrich Beckmann Date: Tue, 15 Dec 2015 23:35:11 +0000 (+0100) Subject: GRAPH scatterplot - fixed missing BY variable rendering X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp;a=commitdiff_plain;h=6ee48467ac46bb8553f6fb3782623559affb1b9c GRAPH scatterplot - fixed missing BY variable rendering scatterplot with GRAPH /SCATTERPLOT x WITH y BY z did not use the by z grouping of the cases. This patch fixes this. --- diff --git a/src/language/stats/graph.c b/src/language/stats/graph.c index 8af6a1515f..a53a191302 100644 --- a/src/language/stats/graph.c +++ b/src/language/stats/graph.c @@ -778,6 +778,7 @@ cmd_graph (struct lexer *lexer, struct dataset *ds) goto error; } graph.by_var[0] = v; + graph.n_by_vars = 1; } } else if (lex_match_id (lexer, "LINE"))