Click here to see the SAS code.
Click here to see the example.
This is a simple x/y gplot, with the addition of hashmarks along
the top and right sides that show the frequency distribution of
the markers.
Here's the "trick"...
For the tickmarks along the right-hand side, for every marker
I annotate a tickmark with the y-location being the y-value
of the marker, and the x-location being 92% and 99% to the
rightmost axis of the plot. Similarly, I do the flip/inverse
for the tickmarks along the top. (Look carefully, and you'll
notice that I'm carefully using 2 different placement coordinate
systems for the x & y coordinates of the annotated tickmarks,
using the xsys & ysys).
I use custom axis statements to make the graph/grid area just a
little bigger to the right & top, to accommodate these annotated
tickmarks.
I use gplot's "html=" option, and html title= text to add
charttip/flyover-text, so you can mouse over the triangular
markers and see the actual data values.
Also, I annotated concentric shaded circles, using the annotate
'pie' function, behind the graph.
Back to Samples Index