Paneled scatterplots with ggraph

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Paneled scatterplots with ggraph

J Otterstedt
Hello,

I am trying to create paneled scatterplots that conform to a particular configuration using ggraph in SPSS (version 20). The paneling variable I'm using has 6 categories, resulting in 6 scatterplots in a row. What I would like is to have two rows, three scatterplots on the top and three scatterplots on the bottom. Is it possible to arrange the paneled scatterplots this way? Do I need to split the paneling variable into two separate variables? I haven't figured out how to successfully panel using two separate variables.

Thank you.
Reply | Threaded
Open this post in threaded view
|

Re: Paneled scatterplots with ggraph

ViAnn Beadle
Use the wrap() function on the COORD statement. Where it wraps is a function
of the graph size so you may to tinker with that parameter to get your nice
3x2 split. Note that control over this is exposed in the Options dialog
within chart builder.

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of J
Otterstedt
Sent: Thursday, March 22, 2012 11:21 AM
To: [hidden email]
Subject: Paneled scatterplots with ggraph

Hello,

I am trying to create paneled scatterplots that conform to a particular
configuration using ggraph in SPSS (version 20). The paneling variable I'm
using has 6 categories, resulting in 6 scatterplots in a row. What I would
like is to have two rows, three scatterplots on the top and three
scatterplots on the bottom. Is it possible to arrange the paneled
scatterplots this way? Do I need to split the paneling variable into two
separate variables? I haven't figured out how to successfully panel using
two separate variables.

Thank you.

--
View this message in context:
http://spssx-discussion.1045642.n5.nabble.com/Paneled-scatterplots-with-ggra
ph-tp5587291p5587291.html
Sent from the SPSSX Discussion mailing list archive at 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

=====================
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