Date: Tue, 22 Sep 2009 11:32:26 -0400
Reply-To: Arthur Tabachneck <art297@NETSCAPE.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Arthur Tabachneck <art297@NETSCAPE.NET>
Subject: Re: Reference line on PROC GCHART output
Content-Type: text/plain; charset=ISO-8859-1
Jim,
Sneaky? I am reminded of something that I'm not sure if many of our
younger members have ever seen: a Rube Goldberg machine.
Just in case they're not, here is a link to one example:
http://www.youtube.com/watch?v=RouXygRcRC4
While they are definitely fun to watch, and program, sometimes it just
makes more sense to simply walk over to the light switch and turn it on
(or, in the case of the video, to walk over to the window and open the
curtain).
Art
---------
On Tue, 22 Sep 2009 07:11:03 -0400, Lane, Jim <jim.lane@RBC.COM> wrote:
>Hi, Art
>
>The sneaky approach. I love it. Seriously though, I'm producing graphs as
PDF files. How do I edit them?
>
>/JL
>
>-----Original Message-----
>From: Arthur Tabachneck [mailto:art297@NETSCAPE.NET]
>Sent: 2009, September, 21 4:09 PM
>To: SAS-L@LISTSERV.UGA.EDU; Lane, Jim
>Subject: Re: Reference line on PROC GCHART output
>
>Jim,
>
>Yes, SAS doesn't make it as easy to draw a reference line on the other
axis. And, if this is something you have to do to many graphs, annotate
is probably the way to go.
>
>However, if it is a one-off, you can always click on the graph, then
click on edit, and simply draw the desired line.
>
>Art
>-------
>On Mon, 21 Sep 2009 14:47:09 -0400, Lane, Jim <jim.lane@RBC.COM> wrote:
>
>>Art: thanks. Interesting. If I run that as is
>>
>>
>>proc gchart data=a;
>> vbar3d YEAR / sumvar=CNT discrete raxis=axis1
>> coutline=black cframe=yellow width=5
>> vref=30 inside=sum frontref;
>>
>>I get a reference line. If I change it to something closer to what I'm
>after
>>
>>proc gchart data=a;
>> vbar YEAR / sumvar=CNT discrete raxis=axis1
>> coutline=black cframe=yellow width=5
>> href=1999 inside=sum frontref;
>>
>>I don't get a reference line, just a warning message:
>>
>>WARNING: The reference line at 1999 on the vertical axis labeled CNT
>>SUM
>is out of range.
>>
>>How can that be given that YEAR ranges from 1997 to 2001? Also why does
>it say "vertical axis" when I asked for a horizontal axis?
>>
>>/JL
>>
>>-----Original Message-----
>>From: Arthur Tabachneck [mailto:art297@NETSCAPE.NET]
>>Sent: 2009, September, 21 2:39 PM
>>To: SAS-L@LISTSERV.UGA.EDU; Lane, Jim
>>Subject: Re: Reference line on PROC GCHART output
>>
>>Jim,
>>
>>Take a look at the example shown at:
>>http://support.sas.com/kb/24/868.html
>>
>>It describes how to combine vref=somevalue and frontref.
>>
>>Art
>>--------
>>On Mon, 21 Sep 2009 13:58:46 -0400, Lane, Jim <jim.lane@RBC.COM> wrote:
>>
>>>Hi, All
>>>
>>>I'm having trouble getting GCHART to co-operate. My program so far
>>>looks like this.
>>>
>>>axis1 value=(h=0.5) ;
>>>axis5 value=(h=0.5) label=none order=('01oct2000'd to '01oct2012'd by
>>>qtr); proc gchart data=work.c;
>>> vbar month / type=sum sumvar=x subgroup=c axis=axis1 maxis=axis5
>>>discrete ; run; quit;
>>>
>>>This is producing a vertical bar chart as I expect. My problem is that
>>>I would like to divide the chart somehow by drawing a vertical
>>>reference line so that the bars for months in the past lie to the left
>>>of the line and the future is to the right. I've tried to do this with
>>>options such
>>>as:
>>>
>>>href='01sep2009'd lref=2 cref=blue
>>>
>>>This produces neither a reference line nor an error message. What am I
>>>doing wrong here?
>>>
>>>-Jim Lane
>>>______________________________________________________________________
>>>_
>>>
>>>This e-mail may be privileged and/or confidential, and the sender does
>>not waive any related rights and obligations.
>>>Any distribution, use or copying of this e-mail or the information it
>>contains by other than an intended recipient is unauthorized.
>>>If you received this e-mail in error, please advise me (by return
>>>e-mail
>>or otherwise) immediately.
>>>
>>>Ce courrier �lectronique est confidentiel et prot�g�.
>>>L'exp�diteur ne
>>renonce pas aux droits et obligations qui s'y rapportent.
>>>Toute diffusion, utilisation ou copie de ce message ou des
>>>renseignements
>>qu'il contient par une personne autre que le (les) destinataire(s)
>>d�sign�
>>(s) est interdite.
>>>Si vous recevez ce courrier �lectronique par erreur, veuillez m'en
>>>aviser
>>imm�diatement, par retour de courrier �lectronique ou par un autre moyen.
>>_______________________________________________________________________
>>
>>This e-mail may be privileged and/or confidential, and the sender does
>not waive any related rights and obligations.
>>Any distribution, use or copying of this e-mail or the information it
>contains by other than an intended recipient is unauthorized.
>>If you received this e-mail in error, please advise me (by return
>>e-mail
>or otherwise) immediately.
>>
>>Ce courrier �lectronique est confidentiel et prot�g�.
>>L'exp�diteur ne
>renonce pas aux droits et obligations qui s'y rapportent.
>>Toute diffusion, utilisation ou copie de ce message ou des
>>renseignements
>qu'il contient par une personne autre que le (les) destinataire(s) d�sign�
>(s) est interdite.
>>Si vous recevez ce courrier �lectronique par erreur, veuillez m'en
>>aviser
>imm�diatement, par retour de courrier �lectronique ou par un autre moyen.
>_______________________________________________________________________
>
>This e-mail may be privileged and/or confidential, and the sender does
not waive any related rights and obligations.
>Any distribution, use or copying of this e-mail or the information it
contains by other than an intended recipient is unauthorized.
>If you received this e-mail in error, please advise me (by return e-mail
or otherwise) immediately.
>
>Ce courrier �lectronique est confidentiel et prot�g�. L'exp�diteur ne
renonce pas aux droits et obligations qui s'y rapportent.
>Toute diffusion, utilisation ou copie de ce message ou des renseignements
qu'il contient par une personne autre que le (les) destinataire(s) d�sign�
(s) est interdite.
>Si vous recevez ce courrier �lectronique par erreur, veuillez m'en aviser
imm�diatement, par retour de courrier �lectronique ou par un autre moyen.
|