Build reports by using ODS to create HTML, PDF, RTF, Excel, text reports and more!

ODS : Text in portrait and Figures in landscape

Reply
Occasional Contributor
Posts: 19

ODS : Text in portrait and Figures in landscape

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

Super Contributor
Super Contributor
Posts: 269

Re: ODS : Text in portrait and Figures in landscape

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. 

Occasional Contributor
Posts: 19

Re: ODS : Text in portrait and Figures in landscape

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

 

 

 

Ask a Question
Discussion stats
  • 2 replies
  • 182 views
  • 0 likes
  • 2 in conversation