Re: Mars for male and venus for female characters as markers in scatterplots

Posted by PRogman on
URL: http://spssx-discussion.165.s1.nabble.com/Mars-for-male-and-venus-for-female-characters-as-markers-in-scatterplots-tp5740332p5740338.html

Nice!
I forgot that in my settings the default new variable has the format (F8.0).
GPL is quite picky with syntax and formats.
/PR


Andy W wrote

> Progman's solution will work if you do
>
> FORMATS sex (F1.0).
>
> Before you run his GGRAPH code example. GGRAPH inherits the decimal
> formatting. So if you don't do that you would need to do:
>
> SCALE:  cat(aesthetic(aesthetic.shape), map(("0.00", shape.female)
>                  ,("1.00", shape.male)))
>
> Or whatever the default decimal format is to get GGRAPH to map the right
> aesthetics.
> -----
> Andy W

> apwheele@

> http://andrewpwheeler.wordpress.com/
> --
> Sent from: http://spssx-discussion.1045642.n5.nabble.com/
>
> =====================
> To manage your subscription to SPSSX-L, send a message to

> LISTSERV@.UGA

>  (not to SPSSX-L), with no body text except the
> command. To leave the list, send the command
> SIGNOFF SPSSX-L
> For a list of commands to manage subscriptions, send the command
> INFO REFCARD





--
Sent from: http://spssx-discussion.1045642.n5.nabble.com/

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD