Chart proplems

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Chart proplems

Stephen Schafer
I am new to SBSS and am using SPSS 16.0 student version for my Masters
program.  I am trying to generate a chart and am having problems.  I am
using the manual and the example file called demo.sav.  I follow the books
instruction exactly and the chart looks good in the preview window
(canvas), but when I hit OK to generate the chart this is what I get.



GGraph
[DataSet1] C:\Program Files (x86)\SPSSInc\SPSS16Student\Samples\demo.sav
Warnings
GPL error: none
GPL:
SOURCE: s=userSource(id("graphdataset"))
DATA: wireless=col(source(s), name("wireless"), unit.category())
DATA: COUNT=col(source(s), name("COUNT"))
DATA: ownpda=col(source(s), name("ownpda"), unit.category())
COORD: rect(dim(1,2), cluster(3,0))
GUIDE: axis(dim(3), label("Wireless service"))
GUIDE: axis(dim(2), label("Count"))
GUIDE: legend(aesthetic(aesthetic.color.interior), label("Owns PDA"))
SCALE: cat(dim(3), include("0", "1"))
SCALE: linear(dim(2), include(0))
SCALE: cat(aesthetic(aesthetic.color.interior), include("0", "1"))
SCALE: cat(dim(1), include("0", "1"))
ELEMENT: interval(position(ownpda*COUNT*wireless), color.interior(ownpda),
shape.interior(shape.square))
The command will not be executed.

any help appreciated.
-Steve


This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information.  No one else may read, print, store, copy, forward or act in reliance on it or its attachments.  If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (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
Reply | Threaded
Open this post in threaded view
|

AW: Chart proplems

la volta statistics
Hi Steve

Try the following syntax. It works for me, having demo.sav as the open and
active dataset.

Hope this helps, Christian



GGRAPH
  /GRAPHDATASET NAME="graphdataset"
   VARIABLES  = wireless
                ownpda
                COUNT()[name= "COUNT"]
   MISSING=LISTWISE REPORTMISSING=NO
  /GRAPHSPEC SOURCE=INLINE.
BEGIN GPL
 SOURCE: s=userSource(id("graphdataset"))
DATA: wireless=col(source(s), name("wireless"), unit.category())
DATA: COUNT=col(source(s), name("COUNT"))
DATA: ownpda=col(source(s), name("ownpda"), unit.category())
COORD: rect(dim(1,2), cluster(3,0))
GUIDE: axis(dim(3), label("Wireless service"))
GUIDE: axis(dim(2), label("Count"))
GUIDE: legend(aesthetic(aesthetic.color.interior), label("Owns PDA"))
SCALE: cat(dim(3), include("0", "1"))
SCALE: linear(dim(2), include(0))
SCALE: cat(aesthetic(aesthetic.color.interior), include("0", "1"))
SCALE: cat(dim(1), include("0", "1"))
ELEMENT: interval(position(ownpda*COUNT*wireless),
color.interior(ownpda),shape.interior(shape.square))
END GPL.


*******************************
la volta statistics
Christian Schmidhauser, Dr.phil.II
Weinbergstrasse 108
CH-8006 Zurich
Tel: +41 (043) 233 98 01
Fax: +41 (043) 233 98 02
email: mailto:[hidden email]
internet: http://www.lavolta.ch/


-----Ursprungliche Nachricht-----
Von: SPSSX(r) Discussion [mailto:[hidden email]]Im Auftrag von
Stephen Schafer
Gesendet: Mittwoch, 1. Oktober 2008 14:10
An: [hidden email]
Betreff: Chart proplems


I am new to SBSS and am using SPSS 16.0 student version for my Masters
program.  I am trying to generate a chart and am having problems.  I am
using the manual and the example file called demo.sav.  I follow the books
instruction exactly and the chart looks good in the preview window
(canvas), but when I hit OK to generate the chart this is what I get.



GGraph
[DataSet1] C:\Program Files (x86)\SPSSInc\SPSS16Student\Samples\demo.sav
Warnings
GPL error: none
GPL:
SOURCE: s=userSource(id("graphdataset"))
DATA: wireless=col(source(s), name("wireless"), unit.category())
DATA: COUNT=col(source(s), name("COUNT"))
DATA: ownpda=col(source(s), name("ownpda"), unit.category())
COORD: rect(dim(1,2), cluster(3,0))
GUIDE: axis(dim(3), label("Wireless service"))
GUIDE: axis(dim(2), label("Count"))
GUIDE: legend(aesthetic(aesthetic.color.interior), label("Owns PDA"))
SCALE: cat(dim(3), include("0", "1"))
SCALE: linear(dim(2), include(0))
SCALE: cat(aesthetic(aesthetic.color.interior), include("0", "1"))
SCALE: cat(dim(1), include("0", "1"))
ELEMENT: interval(position(ownpda*COUNT*wireless), color.interior(ownpda),
shape.interior(shape.square))
The command will not be executed.

any help appreciated.
-Steve


This is an e-mail from General Dynamics Land Systems. It is for the intended
recipient only and may contain confidential and privileged information.  No
one else may read, print, store, copy, forward or act in reliance on it or
its attachments.  If you are not the intended recipient, please return this
message to the sender and delete the message and any attachments from your
computer. Your cooperation is appreciated.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (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
[hidden email] (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