Date: Fri, 26 Mar 2004 13:10:14 GMT
Reply-To: Arthur Tabachneck <art297@NETSCAPE.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Arthur Tabachneck <art297@NETSCAPE.NET>
Subject: Re: An annotate problem with missing values ?!
Jean-Pierre,
At least two problems: in your first data step you were reading part of
ddN_moy when you were attempting to read esp, and in your second data step
you typed "site" rather than "size".
Using esp$6., and correcting the typo, got rid of the problems you
mentioned.
Art
--------
"Jean-Pierre Renaud" <renaud@nancy.inra.fr> wrote in message
news:c416k6$c6i$1@saphir.jouy.inra.fr...
> In the following program, I want to tag the species name on the plot.
> I used annotate, but the problem is that it also plot missing values !!!!
>
> This is a weird problem !!!
>
> Run the program and look at 'Fra ve' and 'Fra ex' these have missing
> values but are ploted !!! Does somebody understands what is going on?
>
> Please help !
>
>
> Thanks
>
> Jean-Pierre
>
>
>
> data d;
> input espece$ esp$10. ddN_moy mddN_moy ;
> cards;
> brachypo Bra sy -0.1455 -1.798666667
> carpinus Car be 1.0345 -3.052
> circael Cir lu -0.5455 -1.1795
> euphorbi Euph a 0.9345 -0.837
> eurhynch Eur st -1.0355 5.758
> fragaria Fra ve 0.1445 .
> fraxinus Fra ex 0.1645 .
> galiuma Gal ap -0.8155 7.993
> galiumo Galod 0.1845 3.2905
> geranium Ger ro 0.0945 4.9255
> geumurb Geum u 0.2645 1.138
> glechoma Gle he -0.6455 .
> hederah Hed he -0.4955 -4.942
> lamiastr Lam ga -0.3855 .
> mercuria Mer pe 0.6745 -3.572
> mycelis Myc mu 1.0245 -0.462
> prunusa Pru sa . -7.072
> prunuss Pru sn -0.6555 -5.632
> quercus Quer p -0.4455 -6.072
> rubusfr Rub fr -0.1 -3.017
> rubusid Rub id 0.7445 -1.102
> ;
> data anno;
> set d ;
> text=put (esp, $6.); x=ddN_moy; y=mddN_moy; ysys='2'; xsys='2';
> style='simplex'; size=1.0;
> keep x xsys y ysys text style site;
> run;
> symbol v=none;
> proc gplot data=d ;
> plot mddN_moy*ddN_moy / annotate=anno;
> run; quit;
>
|