Date: Sun, 30 Jan 2011 22:50:09 -0500 Ya Huang "SAS(r) Discussion" Ya Huang Re: How to show symbol on only one line among eight overlaid lines? To: Dave Maron text/plain; charset=ISO-8859-1

Set v=none for the other seven lines:

data xx; do m=0 to 120 by 2; y1=ranuni(1)*2; y2=ranuni(2)*3; output; end; run;

goptions reset=all; symbol1 v=dot i=j color=black; symbol2 v=none i=j color=black;

proc gplot data=xx; plot (y1 y2)*m / overlay; run;

To split it into 4, you may try to subset the data, also adjust the x axis range:

axis1 order=(0 to 30 by 5); proc gplot data=xx (where=( 0 <= m < 30)); plot (y1 y2)*m / overlay haxis=axis1; run;

axis1 order=(30 to 60 by 5); proc gplot data=xx (where=( 30 <= m < 60)); plot (y1 y2)*m / overlay; run;

axis1 order=(60 to 90 by 5); proc gplot data=xx (where=( 60 <= m < 90)); plot (y1 y2)*m / overlay; run;

axis1 order=(90 to 120 by 5); proc gplot data=xx (where=( 90 <= m < 120)); plot (y1 y2)*m / overlay; run;

HTH

Ya

On Sun, 30 Jan 2011 17:09:19 -0800, Dave Maron <davemaron@YAHOO.COM> wrote:

>Hi! Â Iâ€™m using GPlot to draw eight overlaid lines. I want to show symbol on only one line. For other seven lines, I donâ€™t want to show symbols. Can you show me how to achieve this? Â My data covers 120 months. The default setup crowds the whole chart into one landscape page. How can I split it into four landscape pages from left to right? Â Thank you! Â Dave

Back to: Top of message | Previous page | Main SAS-L page