IGRAPH /VIEWNAME='Bar Chart' /X1 = VAR(b) TYPE = CATEGORICAL
/Y = VAR(y) TYPE
= SCALE /STYLE = VAR(a) CLUSTER /COORDINATE = VERTICAL
' ANOVA Example' /X1LENGTH=3.0 /YLENGTH=3.0 /X2LENGTH=3.0
/CATORDER VAR(a) (ASCENDING VALUES OMITEMPTY) /CATORDER
VALUES OMITEMPTY) /BAR(MEAN) KEY=ON SHAPE = RECTANGLE
BASELINE = AUTO
/ERRORBAR CI(95.0) DIRECTION = BOTH CAPWIDTH (45)
CAPSTYLE = T.
You will probably have to edit the chart a bit afterwords to
make it look the way you want.
When I export IGraph (spss 11.0.1) bar charts with error bars using WMF file
format, the error bars within the bars do not show. In other formats, the
error bars appear, but of course, rotated text becomes jagged in other
formats. Instead of trying to explain this further, here are two links to
How can I fix this? If this is an unresolved bug in SPSS 11.0.1, has anyone
found a solution for creating export graphs from spss that can be used in
word and pass APA formatting guidelines?
NB - the display of the graph in spss itself shows the error bars correctly.