|
Hi,
I would like to generate about two hundred grouped bar charts. I use
FREQUENCIES and its "to"-option for ungrouped bar charts.
Which syntax, option or trick (macro syntax) would make it possible to
generate about two hundred grouped(!) barcharts (the group variable is
always the same).
Or, in other words, is there a SPSS way to replace such repeated
programming
GRAPH
/BAR(GROUPED)=PCT BY varx1 BY classvar
/MISSING=REPORT.
GRAPH
/BAR(GROUPED)=PCT BY vary2 BY classvar
/MISSING=REPORT.......(and so on)
, by some more elegant alternative, e.g.
GRAPH
/BAR(GROUPED)=PCT BY (varx1 to varlast) BY classvar
/MISSING=REPORT.
or something like that?
Thank you so much in advance,
Regards, Leslie
|