Date: Thu, 13 May 2010 16:07:37 -0400
Reply-To: Keith McCormick <keithmc123@gmail.com>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Keith McCormick <keithmc123@gmail.com>
Subject: Re: boxplots for total and subgroup in same chart
In-Reply-To: <4BEC27CA.2050200@DrKendall.org>
Content-Type: multipart/alternative;
Hi Art,
This may be a valuable clue found in the GPL reference (examples). I am sure
that it can be modified for a box plot. I may try to modify it myself if I
get the chance. Note the (jobcat + "All") part. The key will be to imitate
that with a pasted boxplot.
HTH, Keith
www.keithmccormick.com
Simple Bar Chart with Bar for All Categories (GPL)
SOURCE: s = userSource(id("Employeedata"))
DATA: jobcat=col(source(s), name("jobcat"), unit.category())
DATA: salary=col(source(s), name("salary"))
SCALE: linear(dim(2), include(0))
GUIDE: axis(dim(2), label("Mean Salary"))
GUIDE: axis(dim(1), label("Job Category"))
ELEMENT: interval(position(summary.mean((jobcat+"All")*salary)))
On Thu, May 13, 2010 at 12:24 PM, Art Kendall <Art@drkendall.org> wrote:
> I thought I had seen this topic before on this list but did not find it in
> the archives.
>
> If I have 6 groups of cases, I would like to have a single graphic with 7
> boxplots. A boxplot for all cases, and 6 for each of the subgroups.
>
>
> Art Kendall
> Social Research Consultants
>
>
> ===================== 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
[text/html]
|