Click here to see the SAS code.
Click here to see the example.
This one was a special request from someone in the field...
The customer wanted to be able to do a line plot, with several axes on
the same plot -- this is similar in concept to a star (or radar) chart,
but in a rectangular form in stead of circular. In my opinion, this is
easier to read than the star/radar charts, and makes better use of the
available space (since paper and computer screens are rectangular :)
The circular star/radar charts waste the white-space in the 4 corners
of the page, whereas this rectangular version utilizes all available
space.
Basically, to do this plot, I 'normalize' all the data to rescale
the values that will go on each axis from 0-1, and then I just do
a simple multi-line gplot. Then, I add reflines at each x-location
to serve as the multiple 'axes'. I then create an annotate dataset
with labels to place at the top & bottom of each of these
refline/axis lines, so you'll know what were the min/max
values that the normalized value represents. And I totally
suppress the gplot y-axis labels and values (since they would
just show the 0-1 normalized values, which you don't really
want to see).
I add charttip/flyover-text to each plotline marker using gplot's
html= option, and title= text.
I add a gradient/shaded background by annotating colored strips (boxes)
behind the graph, and I use the legend's cblock= option to give the
legend a 3d look.
Back to Samples Index