Hi,
The results of this PROC BOXPLOT in the pdf file produced in the code below look different when running in batch compared to running interactively. In batch mode, half of the labels on the horizontal axis are cut off. Is there a way I can ensure the labels I run in batch mode aren't missing? Or at least make sure the display settings in batch are the same as running interactively? Somehow, they are displayed when run interactively but not in batch. Below is the code. Thank you!
options TOPMARGIN="0.6 IN" BOTTOMMARGIN="0.5 IN" LEFTMARGIN="0.25 IN"
RIGHTMARGIN="0.25 IN" orientation=landscape;
ods _all_ close;
ods pdf file="Filepath\Filename.pdf";
PROC BOXPLOT DATA=afile;
PLOT (preqearn2 preqearn1 postqearn0-postqearn27 prequi2 prequi1
postqui0-postqui27)*R_Site / boxstyle = schematic;
INSET MIN MEAN MAX STDDEV/ header="Overall Statistics" POS=TM;
INSETGROUP MIN MAX / header = "Extremes by category";
RUN;
ods pdf close;
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.