Date: Wed, 16 May 2007 16:15:15 +0200
Reply-To: la volta statistics <schmidhauser@lavolta.ch>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: la volta statistics <schmidhauser@lavolta.ch>
Subject: GPL: how to change size of boxplots?
Content-Type: text/plain; charset="iso-8859-1"
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",color.red),
("2",color.blue) ))
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: mailto:schmidhauser@lavolta.ch
internet: http://www.lavolta.ch/
|