| Date: | Fri, 29 May 2009 06:35:53 -0700 |
| Reply-To: | bigD <diaphanosoma@GMAIL.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | bigD <diaphanosoma@GMAIL.COM> |
| Organization: | http://groups.google.com |
| Subject: | Re: gplot |
|
| Content-Type: | text/plain; charset=ISO-8859-1 |
in your annotate dataset try label =lvlord
nOn May 29, 6:58 am, gerhard.hellrie...@T-ONLINE.DE (Gerhard
Hellriegel) wrote:
> not too firm in graphics, but for the dots versus circles:
>
> symbol v=dot w=1 h=5 c=blue;
>
> if you want to have influence on what you see on the x-axis, you must
> decide that with the axis-statement:
>
> axis2 offset=(3,3) value=(f=swissb h=1) label=none order=(40 to 100 by 20);
>
> Gerhard
>
> On Thu, 28 May 2009 16:43:55 -0700, J M <jas...@UCLA.EDU> wrote:
> >I have two questions regarding gplot.
> >1) How do I put the values from pointlabel on top of the circles (I
> >would like to keep style='psolid' rather than style='pempty')?
> >The values from pointlabel are currently being masked by the circles.
> >2) Only some of my values for lvlord are showing on the x-axis. How do
> >I get all of the values for lvlord to show on the x-axis?
> >LVL10 is a character variable which is a list of locations (eg LA,
> >Fresno, etc).
> >lvlord is equal to _n_.
>
> >data stname;
> >set test (rename=(lvlord=start LVL10=label));
> >fmtname='dataord';
> >type='N';
> >keep fmtname label start type;
> >run;
> >proc format cntlin=stname;
> >data annobub;
> >set test;
> >length function color $8;
> >retain xsys ysys hsys '2' when 'a';
> >x=lvlord;
> >y=rate;
> >function='pie';
> >rotate=360;
> >if series eq 1 then color='CXD9576E';
> >if series eq 2 then color='CXE5B82E';
> >size=avg/6;
> >position='4';
> >style='psolid';
> >output;
> >run;
>
> >GOPTIONS reset=all rotate=landscape device=ACTIVEX;
> >axis1 offset=(0,0) value=(f=swissb) label=none;
> >axis2 offset=(3,3) value=(f=swissb h=1) label=none;
> >symbol i=none v=circle;
> >symbol1 v=circle i=none c=black pointlabel=(h=1.0 '#rate');
> >title "Bubble Plot";
> >proc gplot data=test anno=annobub;
> >plot rate*lvlord=series /
> >autovref autohref
> >nolegend
> >noframe
> >grid
> >lhref=3
> >vaxis=axis1
> >haxis=axis2;
> >;
> >plot2 rate * lvlord / vaxis=axis1 noaxis
> >;
> >format lvlord dataord.;
> >;
> >run;
|