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 (May 2007)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 16 May 2007 10:11:10 -0500
Reply-To:     "Beadle, ViAnn" <>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         "Beadle, ViAnn" <>
Subject:      Re: GPL: how to change size of boxplots?
Comments: To: la volta statistics <>
In-Reply-To:  A<000201c797c4$a05c0d80$>
Content-Type: text/plain; charset="iso-8859-1"

Do you want to make them wider? AFAIK, you can't control this with GPL and need to apply a saved chart template to do it. Since I can't send a file via the list serve, here is the text of one that works. The important part of this is the setStyle clustered subtype.

Copy it, save it as .sgt file and then reference it with the template subcommand. I know that somebody mail system will swallow up the XML and quarantine as being a security risk, so if you don't see this, send me a note and I'll zip it up to send.:

<?xml version="1.0" encoding="UTF-8" standalone="no"?> <template SPSS-Version="2.2" date="2007-05-16" description="" selectPath="21 " xmlns="" xmlns:xsi="" xsi:schemaLocation=""> <setStyle subtype="medianStyle" type="schema"> <style color="#000000" stroke-linecap="butt" stroke-width="1.5pt" visible="true"/> </setStyle> <setStyle subtype="outlierStyle" type="schema"> <style color="transparent" color2="#000000" size="5pt" symbol="circle" visible="true"/> </setStyle> <setStyle subtype="hingeStyle" type="schema"> <style color="#d3ce97" color2="#000000" visible="true"/> </setStyle> <setStyle subtype="extremeStyle" type="schema"> <style color="#000000" color2="#000000" size="5pt" symbol="flower" visible="true"/> </setStyle> <setStyle subtype="clustered" type="schema"> <style color="#d3ce97" color2="#000000" fill-opacity="1.0" opacity="1.0" pattern="0" size="100%" stroke-width="0.75pt" symbol="ibeam" visible="true" width="85%"/> </setStyle> </template>

-----Original Message----- From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU] On Behalf Of la volta statistics Sent: Wednesday, May 16, 2007 8:15 AM To: SPSSX-L@LISTSERV.UGA.EDU Subject: GPL: how to change size of boxplots?

Dear List

I would like to manipulate the size of box plots, that is, to thicken them. I tried the size function but was not successful. Does anybody have an idea how to do this without using the template command?

Here an example using the employee data.sav:

GGRAPH /GRAPHDATASET NAME="graphdataset" VARIABLES= salary jobcat gender MISSING=LISTWISE REPORTMISSING=NO /GRAPHSPEC SOURCE=INLINE. BEGIN GPL SOURCE: s=userSource(id("graphdataset")) DATA: jobcat=col(source(s), name("jobcat"), unit.category()) DATA: gender=col(source(s), name("gender"), unit.category()) DATA: salary=col(source(s), name("salary")) SCALE: cat(aesthetic(aesthetic.color.interior), map(("1",, ("2", )) COORD: rect(dim(1,2), cluster(3)) GUIDE: legend(aesthetic(aesthetic.color), label("Gender")) GUIDE: axis(dim(2), label("Salary")) GUIDE: axis(dim(3), label("Job Category")) ELEMENT: schema(position(bin.quantile.letter(gender*salary*jobcat)), color(gender), size(size."30%")) END GPL.

Thanks in advance, Christian

******************************* la volta statistics Christian Schmidhauser, Dr.phil.II Weinbergstrasse 108 Ch-8006 Zürich Tel: +41 (043) 233 98 01 Fax: +41 (043) 233 98 02 email: internet:

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