04-07-2012 10:15 AM
Hi, I'm running SGPLOTS and although the x-asix is the correct one, it doesn't show up as expected...
My code is
proc sgplot data = Data;
vline Date / response = NHPI y2axis;
xaxis values=('01Jan2010'd to '31Dec11'd by qtr);
xaxis Label = 'Date' Grid Values = (0 to 5 by 1);
refline '31Dec11'd / axis=x;
But the X-Axis still shows up crammed and not readable (from the Jan2000 to Dec2011, rather then the time span specified)... any ideas? Thanks
04-07-2012 01:45 PM
What line could I add if I wanted to show another variable as a secondary Y-Axis but on a different scale.. so have a left and right scale for each of the 2 vars? Thanks
Need further help from the community? Please ask a new question.