BookmarkSubscribeRSS Feed
shutaro
Calcite | Level 5

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;

 

 

 

1 REPLY 1
Cynthia_sas
SAS Super FREQ
Hi:
It is good to have code. But without data to run tests, your code is not much help. People don't know the structure of your data, so in order to try to replicate what you're seeing, now they have to guess what the data is like and make some fake data. If they were inclined to try to help, they might be discouraged by the prospect of spending more time to make data that might or might not be the correct structure.
Cynthia

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
  • 326 views
  • 0 likes
  • 2 in conversation