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 (August 2006, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 21 Aug 2006 09:11:34 -0400
Reply-To:     Nathaniel_Wooding@DOM.COM
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Nat Wooding <Nathaniel_Wooding@DOM.COM>
Subject:      Re: Display graphic
Comments: To: yom <yomsas@GMAIL.COM>
In-Reply-To:  <6aa258df0608210336l59e751a4n54f98c208c5039c9@mail.gmail.com>
Content-Type: text/plain; charset="US-ASCII"

Yom

I made two small changes:

1) I widened the Y axis a bit so that it starts at -1.1 2) I added a position parameter and set it to center the text on the plotting location (default) but for mercedes, the right hand end of the text is at the plot point while for renault, the text starts at the right of the plot point.

Hope this helps.

Nat Wooding

yom <yomsas@GMAIL.COM > To Sent by: "SAS(r) SAS-L@LISTSERV.UGA.EDU Discussion" cc <SAS-L@LISTSERV.U GA.EDU> Subject Display graphic

08/21/2006 06:36 AM

Please respond to yom <yomsas@GMAIL.COM >

Dear All,

Here is my code so as to print a graphic. If you execute it you can see that 'mercedes' and 'renault' are plotted together and that it is not possible to read anything. Do you know if it is possible to add an option such that when moving the mouse on the name it display it on a 'comment box'. Maybe there is an easier way to solve this problem.

Thank you very much in advance !

yom

ods html;

data mytable1; input text $ x y; cards; audi 0.8 0.9 bmw 0.7 -0.95 volkswagen -0.7 -0.6 skoda 1 -1 landrover 0.9 0.95 ferrari 0.6 -0.7 mercedes -1 -1 renault -0.95 -1 ; run;

DATA mytable2; set mytable1 nobs=p; retain xsys ysys '2'; text=substr(text,1,4); color='blue'; label y = "y" x = "x"; output; x=0;text=''; y=0;style='E'; output; RUN;

PROC GPLOT data=mytable2; symbol1 v='none' i=join; title; axis1 order = (-1 to 1 by 0.5) length=10CM; plot y*x=1/ annotate=mytable2 haxis=axis1 vaxis=axis1; RUN; goptions reset=all; QUIT;

ods html close;

----------------------------------------- CONFIDENTIALITY NOTICE: This electronic message contains information which may be legally confidential and/or privileged and does not in any case represent a firm ENERGY COMMODITY bid or offer relating thereto which binds the sender without an additional express written confirmation to that effect. The information is intended solely for the individual or entity named above and access by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you.


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