BookmarkSubscribeRSS Feed
ODENWALD
Obsidian | Level 7

In  ods  pdf  is there a way to fix settings such that one would get  all Text in portrait and all Figures in landscape mode in the final pdf ?

 

Odenwald

2 REPLIES 2
HB
Barite | Level 11 HB
Barite | Level 11

Not sure what you are asking as i am unsure which text you are referring to.

 

You should be able to do 

 

options orientation=landscape;

proc something;

run;

 

options orientation=portrait;

proc something;

run;

 

options orientation=landscape;

proc something;

run;

 

options orientation=portrait;

proc something;

run;

 

 

as often as you like. 

ODENWALD
Obsidian | Level 7

HB :

 

I knew that.

To make it more precise  ::

 

a.  I wanted to avoid these many  portrait / landscape switches.

b.  I would want to be able to globally change the settings in order to avoid going over the whole program and readjust when changing from   say  ods  pdf  to  ods  rtf  (where in the latter there are different defaults w.r.t.  automatic graph size).

c.  There are lots of  SAS procedures which produce  text output (many pages)  and  figures/graphs,

e.g.  proc univariate  or  proc  capability  and many more.

I do not want to have the complete output of one orientation but have a split.

d.  Esp.  in  ods  pdf   the standard impression of  figures  is  'longish'  --  I know that for a final version  e.g.   A4-fitting  sizes can be set.

 

Let's use a non-SAS term  <graphics object>  here meaning a figure with heavy content which would be best studied in  landscape ::

hence I'm asking for a logic that would operate as  <now here comes a graphics object, so switch to landscape and after it switch back to portrait>  and so on. 

 

At the top of the programs I would want to  activate/cancel that feature.

 

It may be that it is simply not possible.

 

I hope that I have cleared my point.

 

Odenwald

 

 

 

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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