Here's an example with two variables using GPL against the 1991 GSS sample
file. Does that work for you?
GGRAPH
/GRAPHDATASET NAME="graphdataset" VARIABLES=educ paeduc MISSING=LISTWISE
REPORTMISSING=NO
/GRAPHSPEC SOURCE=INLINE.
BEGIN GPL
SOURCE: s=userSource(id("graphdataset"))
DATA: educ=col(source(s), name("educ"))
DATA: paeduc=col(source(s), name("paeduc"))
DATA: id=col(source(s), name("$CASENUM"), unit.category())
COORD: rect(dim(1), transpose())
GUIDE: axis(dim(1), label("Highest Year of School Completed"))
ELEMENT: schema(position(bin.quantile.letter(educ*"Respondent's Education"
+ paeduc*"Father's Education)), label(id))
END GPL.
-----Original Message-----
From: SPSSX(r) Discussion [mailto:
[hidden email]] On Behalf Of
Didier ILBOUDO
Sent: Thursday, June 10, 2010 10:14 AM
To:
[hidden email]
Subject: how do I concatenate graphs
Hello,
I have three(3) variables (dsante; dali and dnali) I want SPSS to produce
into the same graph, a different boxplot for each variable. I can have the
syntax which will help me to do it?
Thanks.
=====================
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