From: Friedrich Beckmann Date: Fri, 24 Apr 2015 16:53:13 +0000 (+0200) Subject: Switch the order in which scatterplot axes appear in the graphic's caption. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=267362bc17e844c2dc225f94a05c6090121d82c3;p=pspp Switch the order in which scatterplot axes appear in the graphic's caption. Hulliger Beat Reported that scatterplots were titled 'x vs. y' where x and y were opposite to what is conventional. This change fixes that. --- diff --git a/src/language/stats/graph.c b/src/language/stats/graph.c index 54d47d40fa..20dc80255b 100644 --- a/src/language/stats/graph.c +++ b/src/language/stats/graph.c @@ -142,15 +142,15 @@ show_scatterplot (const struct graph *cmd, const struct casereader *input) if (cmd->byvar) { ds_put_format (&title, _("%s vs. %s by %s"), - var_to_string (cmd->dep_vars[0]), var_to_string (cmd->dep_vars[1]), + var_to_string (cmd->dep_vars[0]), var_to_string (cmd->byvar)); } else { ds_put_format (&title, _("%s vs. %s"), - var_to_string (cmd->dep_vars[0]), - var_to_string (cmd->dep_vars[1])); + var_to_string (cmd->dep_vars[1]), + var_to_string (cmd->dep_vars[0])); }