Click here to see the SAS code.
Click here to see the example.
The main thing that draws you into this chart is the graphic of the bull :)
I added this to the graph using gplot's "iback=" option, and "imagestyle=fit"
(as opposed to imagestyle=tile).
I added specific reference lines using "vref=2000 4000 6000 8000 10000"
(as opposed to using 'autovref'), and I forced the reference lines
to be gray and dashed using "cvref=gray lvref=2" (the default
reflines would have been solid & black).
I also add a footnote with html links using the footnote statement's "link=".
I use proc gplot's html= option to add charttip/flyover-text to the
markers in the plot, so you can mouse over each marker and see what
the exact values were on that day.
I include 'year' in my plot statement as the '=' variable
(plot close*date=year) so that the markers are color-grouped by year,
and I pick colors that somewhat match the picture of the bull,
and I use the "goptions colors=" color-list to assign the colors
(rather than using symbol statements).
Back to Samples Index