Character variables to order horizontal axis in GPLOT

  • Follow


Hi.

Hopefully there's a simple solution to this...

I have a dataset with a character variable ordered in a particular
(non alphabetical) way which is the horizontal axis in a plot.

PROC GPLOT totally ignores this ordering, and decides to be really
"helpful" by ordering them alphabetically. Is there any way to specify
something similar to ORDER=DATA, as in some other procedures?

I know the AXIS statement can include a list of character strings to
order the data, which would mean it would be quite simple to spit
those values into a macro variable using PROC SQL and feed it in, but
the problem here is that I'm the plotting is "by" something, and so
this will end up being rather a complicated solution indeed...

Any ideas?

Thanks...
0
Reply guya.carpenter (43) 12/9/2009 12:50:40 PM


0 Replies
440 Views

(page loaded in 0.027 seconds)

Similiar Articles:













7/23/2012 5:38:14 PM


Reply: