I am using Proc Boxplot to make a grouped box and whisker plot. I am using annotate to draw brackets between boxes indicating statistically significant pair-wise differences.
How do I get three different color fills inside each of the three locations (Neck, Chest, Groin) and how do I then create a legend outside of the plot area that will include the color definition as well as the p-value labels that I currently have showing inside the plot area?
By the way, I would love to do this using Proc SGPanel. Does anyone know if SGPanel can be "tricked" into somehow adding brackets to a grouped boxplot?
goptions reset=goptions fill
device=PNG target=PNG Xmax=8 in Ymax=5 in
Ftext='arial' Ftitle='arial' gunit=pct
XPIXELS=4000 YPIXELS=4000 Htext=3.5 Htitle=3 ;
length function style color $ 8 text $23;
retain hsys '3' xsys '3' ysys '3';
size=3; color='black'; function='label';
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.