From: John Uebersax on
For proc gplot, in theory you can make a multi-line y-axis label as
follows:

axis2 label = (j = center "Line 1 of label" j = center "Line 2 of
label") length = 5 in;

However this doesn't seem to work (I'm using v. 9.1 and Windows XP).
The first line is usually centered, but to center the second line I
have to experiment with padding leading and/or trailing spaces -- by
trial-and-error in a slow process.

Has anyone else noticed this and is there a solution or workaround?

Thanks,

John Uebersax
www.john-uebersax.com
From: "Data _null_;" on
http://support.sas.com/kb/00/615.html

axis1 label=none;
title2 f="Arial" A=90 R=0 "Line 1 of Label" j=c 'Different Length Line
2 of label';
proc gplot data=sashelp.class;
plot weight*height / vaxis=axis1;
run;
quit;

On 12/18/09, John Uebersax <jsuebersax(a)gmail.com> wrote:
> For proc gplot, in theory you can make a multi-line y-axis label as
> follows:
>
> axis2 label = (j = center "Line 1 of label" j = center "Line 2 of
> label") length = 5 in;
>
> However this doesn't seem to work (I'm using v. 9.1 and Windows XP).
> The first line is usually centered, but to center the second line I
> have to experiment with padding leading and/or trailing spaces -- by
> trial-and-error in a slow process.
>
> Has anyone else noticed this and is there a solution or workaround?
>
> Thanks,
>
> John Uebersax
> www.john-uebersax.com
>