BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
jacksonan123
Lapis Lazuli | Level 10

I have the following code which runs fine:

 

 

ods rtf file='/folders/myfolders/regr1resuls/CLCLr.rtf' style=journal;
ods TRACE ON;
ods output FitStatistics=FitStat ParameterEstimates=param;

proc reg data=boot1 plots=all;
	/*plots(only)=FITPLOT(stats=none);*/
	model CL=CLr /clb SPEC;
	output out=pred predicted=p lcl=lcl lclm=lclm ucl=ucl uclm=uclm residual=r;

proc print data=fitstat;
run;

proc print data=param;
run;

proc print data=pred;
run;

run;
quit;
ods rtf close;

 

The problem is that the outputted graphs are truncated (i.e., the X axis is not visible).  I have attached an output for your perusal.

Can someone tell me why this occurs and how to correct it?

 

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

For some reason your page size is messed up. If you set it to Letter, even in the present Word Doc everything shows fine. 

 

Did you try running any options before you ran the code you presented?

 

 

If I run a simlar set of code in SAS UE I don't have this issue. 

 

 

View solution in original post

5 REPLIES 5
ballardw
Super User

It appears that the current settings for the size of the ODS graph area exceeds the area left within your very small (6 by 2.25 inches) area between margins and header/fooder.

Try

 

ods graphics/ height=2in;

 

and see if that helps any.

jacksonan123
Lapis Lazuli | Level 10

That resolved the problem.

Thanks

Reeza
Super User

For some reason your page size is messed up. If you set it to Letter, even in the present Word Doc everything shows fine. 

 

Did you try running any options before you ran the code you presented?

 

 

If I run a simlar set of code in SAS UE I don't have this issue. 

 

 

jacksonan123
Lapis Lazuli | Level 10

Where in the present code would I set page size and what is the correct syntax?

Reeza
Super User

The default is letter so I don't know why yours is different unless you've already changed it?

 

I would make sure my pagesize was letter and orientation was portrait.

 

 

http://support.sas.com/documentation/cdl/en/lesysoptsref/64892/HTML/default/viewer.htm#n1ieb4hg6fijz...

 

If you haven't already, restarting SAS may reset the defaults.

 

 

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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
  • 5 replies
  • 1277 views
  • 0 likes
  • 3 in conversation