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:         Fri, 18 Aug 2006 14:11:46 -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: overplotting an observation on HBAR
Comments: To: Jo Klein <jo_kln@YAHOO.CO.UK>
In-Reply-To:  <ec4nqc$amj$1@frank-exchange-of-views.oucs.ox.ac.uk>
Content-Type: text/plain; charset="US-ASCII"

Jo

I don't recall seeing any replies this morning so here are a couple ideas.

Proc GBARLINE will plot a bar chart with a superimposed line but I suspect that you want isolated and not connected dots.

If you want individual dots, I would use Proc Gchart with an Annotate data set which would add the circles. Take a look at

http://support.sas.com/91doc/docMainpage.jsp

if you scroll down the page, you will find an example in which numeric values were added to a bar chart.

If you are not familiar with Annotate, the general process for the type of application that you want is to build a data set with a series of obs, one for each bar. The following bit of code is from the example page

function='symbol'; style='marker'; text='V'; color='red'; size=5; output;

This tells sas that you want to stick a symbol of a given shape, size and color at a set of xy coordiates. The x and y come from the data set which you are graphing. The x will refer to the bar and the y will be above or at the top of the bar. If you refer to the annotate section of the SAS/Graph manual, you will see a longer discussion of the topic.

Nat Wooding

----------------------------------------- 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