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 (December 2007)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 3 Dec 2007 15:44:51 -0700
Reply-To:     ViAnn Beadle <vab88011@gmail.com>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         ViAnn Beadle <vab88011@gmail.com>
Subject:      Re: Summary of separate variables boxplots (was Hiding the title
              of Legend in charts)
Comments: To: Keith McCormick <keithmc123@gmail.com>
In-Reply-To:  <eaabb06a0712031432t7c6d6e19k7683d13400d4da82@mail.gmail.com>
Content-Type: text/plain; charset="us-ascii"

Presumably you were talking about the complexity of the algebra here but a simpler way is to do the implicit blend with multiple element statements:

ELEMENT: schema(position(bin.quantile.letter("a"*a)), label(id)) ELEMENT: schema(position(bin.quantile.letter("b"*b)), label(id)) ELEMENT: schema(position(bin.quantile.letter("c"*c)), label(id)) ... -----Original Message----- From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU] On Behalf Of Keith McCormick Sent: Monday, December 03, 2007 3:32 PM To: SPSSX-L@LISTSERV.UGA.EDU Subject: Re: Summary of separate variables boxplots (was Hiding the title of Legend in charts)

Hi All,

I am a big fan of GPL, but the GPL is this case might seem complicated. One of the best ways requires a "blend".

First this is a stripped down version of what you paste when you do a one variable boxplot from chartbuilder. A boxplot of variable 'a'

* Chart Builder. GGRAPH /GRAPHDATASET NAME="graphdataset" VARIABLES=a[LEVEL=SCALE] MISSING= LISTWISE REPORTMISSING=NO /GRAPHSPEC SOURCE=INLINE. BEGIN GPL SOURCE: s=userSource(id("graphdataset")) DATA: a=col(source(s), name("a")) COORD: rect(dim(1), transpose()) ELEMENT: schema(position(bin.quantile.letter(a))) END GPL.

Here is the syntax that you would need to do 5 variables, a thru e.

* Chart Builder. GGRAPH /GRAPHDATASET NAME="graphdataset" VARIABLES=a b c d e MISSING=LISTWISE REPORTMISSING=NO /GRAPHSPEC SOURCE=INLINE. BEGIN GPL SOURCE: s=userSource(id("graphdataset")) DATA: a=col(source(s), name("a")) DATA: b=col(source(s), name("b")) DATA: c=col(source(s), name("c")) DATA: d=col(source(s), name("d")) DATA: e=col(source(s), name("e")) ELEMENT: schema(position(bin.quantile.letter("a"*a+"b"*b+"c"*c+"d"*d+"e"*e))) END GPL.

I hope this doesn't talk anyone out of GPL. It is usually simpler, and everything, it seems, is moving in the GPL direction.

Keith www.keithmccormick.com

On 12/3/07, ViAnn Beadle <vab88011@gmail.com> wrote: > IGRAPH, GRAPH, and GGRAPH will create this chart. > > Probably the easiest way is to use Graphs>Boxplots and pick the second radio > button on the gating dialog to request summaries of separate variables. This > will generate a GRAPH command. > > To create this chart using IGRAPH (Graphs>Interactive>Boxplot), drag your > multiple summary variables to the y-axis. This will generate an IGRAPH > command. > > You can't get there with Chart Builder but GPL will also support this chart > using separate ELEMENT statements. > > -----Original Message----- > From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU] On Behalf Of > Perdue, Richard > Sent: Monday, December 03, 2007 10:54 AM > To: SPSSX-L@LISTSERV.UGA.EDU > Subject: Re: Hiding the title of Legend in charts > > HI Folks > > I'm trying to create a graph that looks very much like a traditional box and > whiskers graph, except that I'm showing mean values of 5 different variables > as opposed to the traditional range measures of one variable. > Does anybody have any experience either with SPSS or another graphics > package in creating such a graph?=20 > > Thanks > > Rick Perdue > > Professor and Department Head > Department of Hospitality and Tourism Management > Virginia Tech > Blacksburg, VA 24061 > 540-231-5515 > FAX 540-231-8313 > > ===================== > 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 > > ===================== > 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 >

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

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