Hi Sanjay,
The original question is I am trying to prepare a scatterplot with the lower quartile (lq) on the vertical axis versus the year on the horizontal axis and to mark these observations on the plot with the character v. Also on the same plot, I need to show the upper quartile (uq) plotted against the year and to mark these points with a ^. I am interested in showing confidence intervals or prediction intervals on a plot.
I used this code as you recommended:
data new; input year lq uq; datalines; 2015 1200 1360 2014 1170 1330 2013 1170 1330 2012 1140 1330 2011 1130 1320 2010 1110 1310 2009 1140 1310 2008 1120 1290 2007 1130 1300 2006 1150 1310 ; proc sgplot data=new noautolegend nocycleattrs; symbolchar char='2038'x name=c; symbolchar char='0087'x name=v; reg x=year y=lq / cli clm nomarkers; reg x=year y=uq / cli clm nomarkers; scatter x=year y=lq / MARKERATTRS=(SYMBOL=c); scatter x=year y=uq / MARKERATTRS=(SYMBOL=v); run;
It runs but I still did not get the symbol charater ^ or v for either variable. And the uq does not appear on the y-axis?
... View more