Error Bar mis-alignment when using IGRAPH

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

Error Bar mis-alignment when using IGRAPH

Anne McLaughlin
Please forgive me if this has been answered. I did search before posting and can't believe I'm the only one having trouble with this.

When I make an IGRAPH line graph and add error bars (1 SE), it sometimes puts the error bars on a point to the left of the line. It looks as though it "misses" the point.

It doesn't always do this, and I can't figure out what I'm doing to cause it.

I run SPSS 14.

Here is the syntax I use and a general picture of what I'm getting:

IGRAPH /VIEWNAME='Line Chart' /X1 = VAR(LearningStg) TYPE = CATEGORICAL /Y =
  VAR(comp_acc) TYPE = SCALE /COLOR = VAR(FBgate) TYPE = CATEGORICAL
 /COORDINATE = VERTICAL  /X1LENGTH=4.0 /YLENGTH=4.0 /X2LENGTH=4.0
 /SCALERANGE =  VAR(comp_acc) MIN=0.500000 MAX=1.000000 /CATORDER VAR(FBgate) (ASCENDING
  VALUES OMITEMPTY) /CATORDER VAR(LearningStg) (ASCENDING VALUES OMITEMPTY)
 /LINE(MEAN) KEY=ON STYLE = LINE DROPLINE = OFF INTERPOLATE = STRAIGHT
  BREAK = NONE /ERRORBAR SE(1.0)  DIRECTION = BOTH CAPWIDTH (45) CAPSTYLE = T.
EXE.

_______
              \
          --- \
           |    \
           X     \_______/
           |
          ---


Has anyone come across this before? Is this a "feature" instead of a problem? :-)

Anne
Reply | Threaded
Open this post in threaded view
|

Re: Error Bar mis-alignment when using IGRAPH

Beadle, ViAnn
Have you tried using the GRAPH command to produce your error bars? It draws much better and uses much less memory which can be a problem if you are going to produce a lot of charts.

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Pebblehead
Sent: Friday, April 20, 2007 2:48 PM
To: [hidden email]
Subject: Error Bar mis-alignment when using IGRAPH

Please forgive me if this has been answered. I did search before posting and
can't believe I'm the only one having trouble with this.

When I make an IGRAPH line graph and add error bars (1 SE), it sometimes
puts the error bars on a point to the left of the line. It looks as though
it "misses" the point.

It doesn't always do this, and I can't figure out what I'm doing to cause
it.

I run SPSS 14.

Here is the syntax I use and a general picture of what I'm getting:

IGRAPH /VIEWNAME='Line Chart' /X1 = VAR(LearningStg) TYPE = CATEGORICAL /Y =
  VAR(comp_acc) TYPE = SCALE /COLOR = VAR(FBgate) TYPE = CATEGORICAL
 /COORDINATE = VERTICAL  /X1LENGTH=4.0 /YLENGTH=4.0 /X2LENGTH=4.0
 /SCALERANGE =  VAR(comp_acc) MIN=0.500000 MAX=1.000000 /CATORDER
VAR(FBgate) (ASCENDING
  VALUES OMITEMPTY) /CATORDER VAR(LearningStg) (ASCENDING VALUES OMITEMPTY)
 /LINE(MEAN) KEY=ON STYLE = LINE DROPLINE = OFF INTERPOLATE = STRAIGHT
  BREAK = NONE /ERRORBAR SE(1.0)  DIRECTION = BOTH CAPWIDTH (45) CAPSTYLE =
T.
EXE.

_______
              \
          --- \
           |    \
           X     \_______/
           |
          ---


Has anyone come across this before? Is this a "feature" instead of a
problem? :-)

Anne
--
View this message in context: http://www.nabble.com/Error-Bar-mis-alignment-when-using-IGRAPH-tf3620571.html#a10110039
Sent from the SPSSX Discussion mailing list archive at Nabble.com.