|
snoopytt@aol.com wrote:
>
> Am trying to find a faster way (either through syntax or some other
> method) of ordering variables in bar charts in SPSS (7.5 or 6.4.1). The
> default in SPSS is to order them in the order they appear in the file.
> I often want to put them in descending or ascending order, but have not
> found a fast way to do this.
> I am currently removing all the variables-putting them in the omit
> window in the chart editor-and them putting them in one at a time
> in the order I want. Anyone have a better (faster) way of doing this?
>
Well, if all you need is simple bar charts, the FREQUENCIES procedure
will do what you want, as in...
FREQUENCIES
VARIABLES=var1 va2 var3
/FORMAT=DFREQ (or AFREQ)
/BARCHART FREQ .
On the menus, you access Frequencies from the Statistics menu, Summarize
submenu.
If all you want is simple bar charts in descending order, try the the
GRAPH command, PARETO subcommand. (Graphs menu, Pareto)
|