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 (March 2010)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 8 Mar 2010 11:00:44 -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: GPL questions
Comments:   To: Robert Lundqvist <Robert.Lundqvist@nll.se>
In-Reply-To:   <BB6A5D6C4837734799B77BEE278664BD025051A5AC34@CSU131.nll.se>
Content-Type:   text/plain; charset="US-ASCII"

It's curious that texture.pattern doesn't work here but you can get around it with a chart template. I've created one that seems to work by editing the chart in the editor and then checking off the Non-data element checkbox and the Boxplot fill checkbox. I'll send that separately to Robert.

Size can be controlled via the PAGE statement wrapper, as in this example:

GGRAPH /GRAPHDATASET NAME="graphdataset" VARIABLES=minority salary MISSING=LISTWISE REPORTMISSING=NO /GRAPHSPEC SOURCE=INLINE TEMPLATE=[ "C:\Users\Vi\Desktop\boxfill.sgt"]. BEGIN GPL PAGE: begin(scale(400px,300px)) SOURCE: s=userSource(id("graphdataset")) DATA: minority=col(source(s), name("minority"), unit.category()) DATA: salary=col(source(s), name("salary")) GUIDE: axis(dim(1), label("Minority Classification")) GUIDE: axis(dim(2), label("Current Salary")) SCALE: cat(dim(1), include("0", "1")) SCALE: linear(dim(2), include(0)) ELEMENT: schema(position(bin.quantile.letter(minority*salary))) PAGE: end() END GPL.

-----Original Message----- From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU] On Behalf Of Robert Lundqvist Sent: Monday, March 08, 2010 3:32 AM To: SPSSX-L@LISTSERV.UGA.EDU Subject: GPL questions

Now that I have got a reasonably good grip on GPL, there still are some issues I don't understand, and suggestions would be very welcome.

*My attempts to achieve a pattern in a boxplot do not work, nor do use of colors. The code used is ELEMENT: schema(position(bin.quantile.letter(gender*exp_life)),texture.pattern(textur e.pattern.grid))

It works in the sense that I get the boxplots, but there is not any pattern. Am I missing something here?

*Is there any way to specify the size of the plot? I would like to use a height smaller than the default since the plots are intended to be used in a report where space is fairly limited. I have been able to specify the width when exporting the graph to a eps-file, but that is not all I would like to change.

Suggestions anyone?

Robert

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