I cannot for the life of me figure out why specifiying no caps is overriding my y axis formating. Any help would be GREATLY appreciated!
Y axis looks good, boxplots have caps...
proc sgpanel data=fig1 noautolegend;
panelby dpt / rows=2 columns=1 novarname uniscale=column;
vbox _value_ / group=system nomean lineattrs=(color=black) medianattrs=(color=black) whiskerattrs=(color=black);
refline 0 / lineattrs=(color=crimson);
run;
Y axis messed up, boxplots are cap-free...
proc sgpanel data=fig1 noautolegend;
panelby dpt / rows=2 columns=1 novarname uniscale=column;
vbox _value_ / group=system nomean lineattrs=(color=black) medianattrs=(color=black) whiskerattrs=(color=black) nocaps;
refline 0 / lineattrs=(color=crimson);
run;
It works as expected for me. Maybe it's to do with the refline.
If that really bothers you, you should contact tech support, otherwise just set the axes as you want them.
proc sgpanel data=SASHELP.SHOES noautolegend;
where REGION=:'A';
panelby REGION / rows=2 columns=1 novarname uniscale=column;
vbox SALES / group=PRODUCT nomean lineattrs=(color=black) medianattrs=(color=black) whiskerattrs=(color=black);
refline 0 / lineattrs=(color=crimson);
run;
proc sgpanel data=SASHELP.SHOES noautolegend;
where REGION=:'A';
panelby REGION / rows=2 columns=1 novarname uniscale=column;
vbox SALES / group=PRODUCT nomean lineattrs=(color=black) medianattrs=(color=black) whiskerattrs=(color=black) nocaps;
refline 0 / lineattrs=(color=crimson);
run;
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: