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.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.