Hello!
Is there a way to order the legend (for Actual Arm) in sgpanel sequentially? Thank you!
proc sgpanel data=final;
*styleattrs datasymbols=(circlefilled x trianglefilled) ;
panelby reason;
series x=dsstdy y=percent2 /group=actarmn tip=(subjid dsstdy percent) tiplabel=(auto 'study day')
markers markerattrs=(symbol=circlefilled size=10) lineattrs = (thickness = 2);
colaxis grid values=(1 to 240 by 20);
rowaxis grid values=(0 to 10 by 1);
run ;
Oh thank you! the grouporder= option worked.
The value of actarmn is numeric, and I planned to apply a format to the numeric value.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.