LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (February 2010)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 18 Feb 2010 16:31:42 +1030
Reply-To:     Kylie Lange <kylie.lange@adelaide.edu.au>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Kylie Lange <kylie.lange@adelaide.edu.au>
Subject:      scatterplot with double legend
Content-Type: text/plain; charset=ISO-8859-1

Hi all,

I wish to draw a scatterplot with markers defined by two categorical variables - one for the colour and the second for the shape.

I have data such as the following: data list free / group item x y. begin data. 1 1 856 385 1 2 1142 824 1 3 1064 497 1 4 1036 543 1 5 547 796 1 6 576 507 1 7 1050 488 2 1 1688 673 2 2 1093 367 2 3 1050 545 2 4 1043 740 2 5 775 293 2 6 1621 495 2 7 869 403 3 1 1008 488 3 2 570 338 3 3 656 756 3 4 1485 794 3 5 1394 322 3 6 1345 540 3 7 1159 619 end data.

I'm trying to generate a scatterplot of x vs y, with colours set according to the 'group' variable, and the marker shape set according to the 'items' variable. I don't know if it needs the 'group' and 'item' variables as I've got them, or a new variable for the combination (ie, values 1-21)? I don't really know enough about GPL to know where to start with this one.

Any suggestions would be appreciated.

Thanks, Kylie.

===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@LISTSERV.UGA.EDU (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


Back to: Top of message | Previous page | Main SPSSX-L page