Hi John,
the syntax is
GRAPH
/SCATTERPLOT = x WITH y
see:
http://benpfaff.org/~blp/pspp-master/latest/source/user-manual/pspp.html#GRAPH
The code fragment checks the existence of y but at that point of parsing x is
already in the
variable array. Therefore n_dep_vars is 2 but „only one variable“ is allowed
after the WITH.
Friedrich
Am 16.06.2015 um 21:11 schrieb John Darrington <[email protected]>:
> Just checking ....
>
> This fragment from src/language/stats/graph.c :
>
> if (graph.scatter_type == ST_BIVARIATE && graph.n_dep_vars != 2)
> {
> lex_error (lexer, _("Only one variable is allowed."));
> goto error;
> }
>
>
> The error message does not seem to fit the condition. Should one or the
> other be
> updated?
>
>
>
>
> --
> PGP Public key ID: 1024D/2DE827B3
> fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
> See http://sks-keyservers.net or any PGP keyserver for public key.
>
> _______________________________________________
> pspp-dev mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/pspp-dev
--
Friedrich Beckmann, Bismarckstraße 11, 86159 Augsburg
Tel: 0821-44923693, Mobil: 017648576782
_______________________________________________
pspp-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/pspp-dev