BookmarkSubscribeRSS Feed
grsanford
Fluorite | Level 6

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;caps_nocaps.png

1 REPLY 1
ChrisNZ
Tourmaline | Level 20

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;

ChrisNZ_0-1721044469177.png

 

 

 

 

Ready to join fellow brilliant minds for the SAS Hackathon?

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!
How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 76 views
  • 0 likes
  • 2 in conversation