hi,
need some help with SGPLOT.!!
I need to highlight an area of a graph with some light color/slant or cross lines.
For example, in below case /graph , is it possible to highlight the area starting from 01Aug00 till the end of the X-axis( with some shade/color/slanting lines/cross lines )
Annotate doesn't work with 9.2 sgplot..so I am unable to use annotate with sgplot.
Does SGPLOT has any feature by which this can be achiveved. I searched some of the SGPLOT documentations but unable to find a single feature which can achieve this.
Experts!! Please help me! :smileyplain:
proc sgplot data=sashelp.stocks (where=(date >= "01jan2000"d
and date <= "01jan2001"d
and stock = "IBM"));
title "Stock Volume vs. Close";
vbar date / response=volume;
vline date / response=close y2axis;
run;
Why can't you use annotate .. or was the feature only added in 9.3? Take a look at: http://support.sas.com/kb/48/123.html
If that was indeed only introduced in 9.3, take a look at: http://support.sas.com/resources/papers/proceedings11/095-2011.pdf
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.