LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (January 2011, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Sun, 30 Jan 2011 22:50:09 -0500
Reply-To:   Ya Huang <ya.huang@AMYLIN.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Ya Huang <ya.huang@AMYLIN.COM>
Subject:   Re: How to show symbol on only one line among eight overlaid lines?
Comments:   To: Dave Maron <davemaron@YAHOO.COM>
Content-Type:   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