From 6ee48467ac46bb8553f6fb3782623559affb1b9c Mon Sep 17 00:00:00 2001 From: Friedrich Beckmann Date: Wed, 16 Dec 2015 00:35:11 +0100 Subject: [PATCH] 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. --- src/language/stats/graph.c | 1 + 1 file changed, 1 insertion(+) 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")) -- 2.30.2