From: Motria Caudill on
Hi Folks -

I've created a few variations on the "v3" greplay template, stacking
5+ charts vertically. Isn't the default a portrait orientation? Mine
keep coming out landscape, which makes the axes illegible. What to
do? Sample code posted below. Where would an orientation statement
go? Do I need to specify in the template or somewhere in the below
statements? Thanks in advance for any ideas!

+++++++++++++++++++++++++++++++++++++++++++++++

/** this is one of several gchart statements **/
proc gchart data=chlor;
vbar species / discrete
type=sum sumvar=chlor
midpoints = "ACETE" "BUT13" "BZ" "CBZ14" /** etc, more listed here
**/
maxis=axis1 raxis=axis2 autoref clipref cref=graycc coutline=black
width=5;
title1 justify=right 'chlor';
axis2 logbase=10 minor=none offset=(0,0) label=none;
axis1 label=none;
run;

footnote h=1.5 j=c 'Species';
title1 h=1.5 angle=90 'Concentration (ug/m3)';

proc gslide des="" name='header';
run;

proc greplay igout=work.gseg nofs tc=sashelp.templt template=v5;
treplay 1:gchart 2:gchart1 3:gchart2 4:gchart3 5:gchart4 0:header;
run;
quit;
+++++++++++++++++++++++++++++++++++++++++++++++++++
From: John Hendrickx on
On 16 jul, 19:24, Motria Caudill <motria.caud...(a)gmail.com> wrote:
> Hi Folks -
>
> I've created a few variations on the "v3" greplay template, stacking
> 5+ charts vertically.  Isn't the default a portrait orientation?  Mine
> keep coming out landscape, which makes the axes illegible.   What to
> do?  Sample code posted below. Where would an orientation statement
> go?  Do I need to specify in the template or somewhere in the below
> statements?  Thanks in advance for any ideas!
>
> +++++++++++++++++++++++++++++++++++++++++++++++
>
> /** this is one of several gchart statements **/
> proc gchart data=chlor;
> vbar species / discrete
>  type=sum sumvar=chlor
>  midpoints = "ACETE" "BUT13" "BZ" "CBZ14"  /** etc, more listed here
> **/
>  maxis=axis1 raxis=axis2 autoref  clipref cref=graycc coutline=black
> width=5;
>  title1 justify=right 'chlor';
>  axis2 logbase=10  minor=none offset=(0,0) label=none;
>  axis1 label=none;
> run;
>
> footnote h=1.5 j=c 'Species';
> title1 h=1.5 angle=90 'Concentration (ug/m3)';
>
> proc gslide des="" name='header';
> run;
>
> proc greplay igout=work.gseg nofs tc=sashelp.templt template=v5;
>   treplay  1:gchart 2:gchart1 3:gchart2 4:gchart3 5:gchart4 0:header;
> run;
> quit;
> +++++++++++++++++++++++++++++++++++++++++++++++++++

Hello Motria,

Use "options orientation=portrait;" to set page orientation and
"goptions hsize=? vsize=?;" to control the size of your output. I
think your problem is that you haven't set hsize/vsize.

Information on alternative methods for ODS destinations can be found
at http://support.sas.com/techsup/technote/ts659/ts659.html

Good luck,
John Hendrickx