Hi All, I am plotting some descriptive statistics of a variable over time to visualize the variable coverage. X axis is the month.It spans from 2004-01-01 to 2014-05-01 on a monthly basis. I am using SGPLOT on sas 9.3 and here is the code I am using. (The data is also attached below). proc sgplot data=percentiles; where portfolio='AAA'; series x=date y=score_p5 / lineattrs=(color=CXAAA03E thickness=2 pattern=solid) curvelabel='P05' curvelabelloc=inside curvelabelpos=max; series x=date y=score_p25 / lineattrs=(color=CXff750 thickness=2 pattern=solid) curvelabel='P25' curvelabelloc=inside curvelabelpos=max; series x=date y=score_mean / lineattrs=(color=CX84351D thickness=2 pattern=solid) curvelabel='MEAN' curvelabelloc=inside curvelabelpos=max; series x=date y=score_p50 / lineattrs=(color=CXD1836D thickness=2 pattern=solid) curvelabel='P50' curvelabelloc=inside curvelabelpos=max; series x=date y=score_p75 / lineattrs=(color=CX5A1804 thickness=2 pattern=solid) curvelabel='P75' curvelabelloc=inside curvelabelpos=max; series x=date y=score_p95 / lineattrs=(color=black thickness=2 pattern=solid) curvelabel='P95' curvelabelloc=inside curvelabelpos=max; needle x=date y=score_miss_pct / y2axis lineattrs=(thickness=3 color=CX4D946E ) transparency=.70; xaxis label="Month" grid values=("01Jan2004"d to "01Dec2015"d by 1) interval=month type=discrete fitpolicy=rotatethin; yaxis label="SCORE"; y2axis grid label="Percent Missing"; title "VAR = Score; PORTFOLIO=AAA"; run; I need help with the following: 1. The date on the x axis is at an angle. I want to rotate that vertically. In SAS GRAPH there was a rotate option. I need to find a way to do that in SGPLOT. 2. I want the title inside of the box. 3. In the data (attached below), there are two portfolio - AAA and BBB. This plot is only for AAA. I want to show the same plot but in a panel for both the portfolios. This will help me see it across different portfolio. I tried SGPANEL but with not much success. I am hoping someone could help. I have not used GTL but would be open to that if there is a way to display this in a panel. 4.Eventually i want this to output on a PDF. In the PDF however, the image seems a little distorted. I have tried DPI but still it is not as good. Please share tips that has worked for you. I would appreciate any help/suggestions, codes would be even better Thank you,
... View more