interactive chart in SPSS 16

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

interactive chart in SPSS 16

M van Dijk
Dear all,

I used to make interactive charts that combined for instance error bars
with the scatterplot of the same variables in SPSS 15.0. Using INSERT at
the top of the window I could add the individual scatters to a error bar
or boxplot etc. In SPSS 16.0 when working in interactive charts this
option is missing!
Does anyone know how to solve this problem?

Thanks, Monique van Dijk

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

Re: interactive chart in SPSS 16

ViAnn Beadle
I can't speak to the chart editor here, but GPL syntax will overlay the
scatterplot directly without having to edit it in the chart editor. Here's
an example using the Employee Data.sav sample file:

GGRAPH
  /GRAPHDATASET NAME="graphdataset" VARIABLES=educ salbegin
    MISSING=LISTWISE REPORTMISSING=NO
  /GRAPHSPEC SOURCE=INLINE.
BEGIN GPL
  SOURCE: s=userSource(id("graphdataset"))
  DATA: educ=col(source(s), name("educ"), unit.category())
  DATA: salbegin=col(source(s), name("salbegin"))
  GUIDE: axis(dim(1), label("Education"))
  GUIDE: axis(dim(2), label("Mean Beginning Salary"))
  GUIDE: text.footnote(label("Error Bars: 95% CI"))
  SCALE: cat(dim(1), include("0", "1"))
  SCALE: linear(dim(2), include(0))
  ELEMENT: point(position(educ*salbegin),size(size."2px"))
  ELEMENT: interval(position(region.confi.mean(educ*salbegin)),
shape(shape.ibeam))
  ELEMENT: point(position(summary.mean(educ*salbegin)), color(color.red))
END GPL.

The first element plots the scatterplot and the size function makes the
points tiny.
The second element provides the I-beam for the top and bottom of the
confidence interval.
The third element puts the mean position on the I-Beam. I made it red to
distinguish it from an individual point.

Note that although educ is really a scale variable here, I treated it as
categorical to equally space out the clouds. I also suspect that your error
bars have a categorical x axis so that you can more easily cut and paste
from this example.

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of M
van Dijk
Sent: Sunday, December 13, 2009 5:59 AM
To: [hidden email]
Subject: interactive chart in SPSS 16

Dear all,

I used to make interactive charts that combined for instance error bars with
the scatterplot of the same variables in SPSS 15.0. Using INSERT at the top
of the window I could add the individual scatters to a error bar or boxplot
etc. In SPSS 16.0 when working in interactive charts this option is missing!
Does anyone know how to solve this problem?

Thanks, Monique van Dijk

=====================
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
Reply | Threaded
Open this post in threaded view
|

Setting tabs in the syntax editor

Mark Vande Kamp
I am writing a lot of syntax that uses loops, some nested, and I'd love to
be able to set tabs in the syntax editor. Right now the tab key functions
identically to the space key. I've looked in the Help and in the list
archives about this seemingly simple task, but I've found nothing. Any help
would be appreciated.

Mark

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