BookmarkSubscribeRSS Feed
ChandlersKD
Calcite | Level 5

Hi,

 

i have little problem to format the output of the pdf file.

I used

ods pdf file to generate a pdf file

That works, but the problem now is that I want to fit those 3 chart on one page. I really would like to change size of those charts.

I already tried startpage=never,  the log file tells me the statement is not valid or it is used out of proper order (Note I am using SAS 9.1).

 

Any ideas how to solve this problem?

 

BIG

THANKS

8 REPLIES 8
RW9
Diamond | Level 26 RW9
Diamond | Level 26

Hi,

 

Not sure what your using to create them, however with splot/graph template you can set gridded output to show multiple graphs on one page:

http://support.sas.com/documentation/cdl/en/grstatproc/62603/HTML/default/viewer.htm#sgpanel-chap.ht...

Or for GTL:

http://support.sas.com/documentation/cdl/en/grstatgraph/67882/HTML/default/viewer.htm#p1h7wd5z8ihewz...

Jay54
Meteorite | Level 14

The first production release of GTL and SGPLOT was SAS 9.2.

ChandlersKD
Calcite | Level 5

i do not have a data to read in proc sgpanel.

I used shewhart procedure to generate a uchart 

I get the pdf file trough  

 

ods pdf file='mypath\name.pdf';

 

proc shewhart data=mydata ;
title 'u Chart for mydata';
symbol v=dot
cv=lightblue
CLIMITS=red;
   uchart F4*F1 / subgroupn=1;
run;

ods pdf close;

 

attached you find the pdf

but the charts are to big

 

 

 

 

ChandlersKD
Calcite | Level 5

sorry the first attachment was empty

Reeza
Super User

You haven't tried to change the chart size. Please look at the link I posted. 

Reeza
Super User

Set the size of graphs manually. 

http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_odsgraph_sec...

 

Look at column option on ODS PDF statement if you want side by side graphs. 

I think startpage is correct but maybe not for 9.1 - that's old - about 15 yrs I think. 

 

Post sample code code if you're having issues and the log if you're getting errors. 

 

ChandlersKD
Calcite | Level 5

I tried but it is not working

 


Capture.PNG
Reeza
Super User

Can you post your SAS version? 

 

Run the following and see log

 

%put &sysver;

%put &sysvlong; 

 

if you're really on SAS 9.1 you may not have options. 

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 8 replies
  • 2941 views
  • 0 likes
  • 4 in conversation