Quantcast
Channel: Statistics Help @ Talk Stats Forum - SAS
Viewing all articles
Browse latest Browse all 310

Adding line break in label statement PROC SGPLOT

$
0
0
hello all,

I've had issues with PROC SGPLOT before (for instance needing to use UNICODE instead of super to add a superscript to text in the legend key). I want to add a linebreak to the xaxis label within an SGPLOT.

So for instance, instead of the x-axis label simply reading:

Chronic Members N=1,000,



I want it to read on two lines:

Chronic Members
N=1,000




So far, I've tried the following: xaxis label="Chronic Members ~n&chrval" ; where I had previously specified ods escapechar='~'; . However that did not work as it kept everything on just one line.

Any suggestions?

Viewing all articles
Browse latest Browse all 310

Trending Articles