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 (September 2010)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 16 Sep 2010 08:47:04 -0400
Reply-To:     Art@DrKendall.org
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Art Kendall <Art@DrKendall.org>
Organization: Social Research Consultants
Subject:      Re: Error # 99 This command is only valid immediately following
              the GGRAPH procedure.
Comments: To: dennisz <dennis_zwiers@hotmail.com>
In-Reply-To:  <1284638090539-2842156.post@n5.nabble.com>
Content-type: text/html; charset=ISO-8859-1

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <tt>Your syntax pasted into my copy of PASW(SPSS) does color the elements of GGRAPH.<br> <br> The syntax below except for the GET was created via the GUI.&nbsp; It also does not color between BEGIN GPL and END GPL.<br> It does color those commands.<br> The first set is a copy of the second set with "world95" changed to "nonexistent".<br> Note that the first GET generates error 99.&nbsp; See if you have such a message higher up in your log.<br> GET<br> &nbsp; FILE='C:\Program Files\SPSSInc\PASWStatistics18\Samples\English\nonexistent.sav.sav'.<br> DATASET NAME DataSet1 WINDOW=FRONT.<br> * Chart Builder.<br> GGRAPH<br> &nbsp; /GRAPHDATASET NAME="graphdataset" VARIABLES=lifeexpm lifeexpf MISSING=LISTWISE REPORTMISSING=NO<br> &nbsp; /GRAPHSPEC SOURCE=INLINE.<br> BEGIN GPL<br> &nbsp; SOURCE: s=userSource(id("graphdataset"))<br> &nbsp; DATA: lifeexpm=col(source(s), name("lifeexpm"))<br> &nbsp; DATA: lifeexpf=col(source(s), name("lifeexpf"))<br> &nbsp; GUIDE: axis(dim(1), label("Average male life expectancy"))<br> &nbsp; GUIDE: axis(dim(2), label("Average female life expectancy"))<br> &nbsp; ELEMENT: point(position(lifeexpm*lifeexpf))<br> END GPL.<br> <br> GET<br> &nbsp; FILE='C:\Program Files\SPSSInc\PASWStatistics18\Samples\English\world95.sav'.<br> DATASET NAME DataSet2 WINDOW=FRONT.<br> * Chart Builder.<br> GGRAPH<br> &nbsp; /GRAPHDATASET NAME="graphdataset" VARIABLES=lifeexpm lifeexpf MISSING=LISTWISE REPORTMISSING=NO<br> &nbsp; /GRAPHSPEC SOURCE=INLINE.<br> BEGIN GPL<br> &nbsp; SOURCE: s=userSource(id("graphdataset"))<br> &nbsp; DATA: lifeexpm=col(source(s), name("lifeexpm"))<br> &nbsp; DATA: lifeexpf=col(source(s), name("lifeexpf"))<br> &nbsp; GUIDE: axis(dim(1), label("Average male life expectancy"))<br> &nbsp; GUIDE: axis(dim(2), label("Average female life expectancy"))<br> &nbsp; ELEMENT: point(position(lifeexpm*lifeexpf))<br> END GPL.<br> </tt><br> <br> Did you create the GGRAPH and GPL via the GUI or write it yourself?<br> <br> Art Kendall<br> Social Research Consultants<br> <br> On 9/16/2010 7:54 AM, dennisz wrote: <blockquote cite="mid:1284638090539-2842156.post@n5.nabble.com" type="cite"> <pre wrap="">GET FILE='C:\Users\Dennis\Documents\BCM\BCM_Q3_WORKSHOP.sav'. DATASET NAME DataSet1 WINDOW=FRONT. * Chart Builder. GGRAPH /GRAPHDATASET NAME="graphdataset" VARIABLES=V18 COUNT()[name="COUNT"] MISSING=LISTWISE REPORTMISSING=NO /GRAPHSPEC SOURCE=INLINE TEMPLATE=[ "C:\Users\Dennis\BCM_Chart_template_8.sgt"]. BEGIN GPL SOURCE: s=userSource(id("graphdataset")) DATA: V18=col(source(s), name("V18"), unit.category()) DATA: COUNT=col(source(s), name("COUNT")) COORD: polar.theta(startAngle(0)) GUIDE: axis(dim(1), null()) GUIDE: legend(aesthetic(aesthetic.color.interior), label("Percentage of your fleet not in use?")) SCALE: linear(dim(1), dataMinimum(), dataMaximum()) SCALE: cat(aesthetic(aesthetic.color.interior), include("0", "1", "2", "4", "5")) ELEMENT: interval.stack(position(summary.percent(COUNT))), color.interior(V18)) END GPL. </pre> </blockquote> </body> </html>

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