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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
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.