I don't see a symbols function in the gtools package, do you mean the
symbols function in the graphics package?
If so, there is not a simple legend or key function to create the legend
(the number of possible options would make it more complicated than
building the legend by hand). You will need to construct the legend by
hand. You can use the symbols function to add the example symbols to the
legend and the text function to add the explanatory text. The functions
grconvertX, grconvertY, strheight, and strwidth will help with deciding
where to place the text and symbols.
On Mon, Jan 21, 2013 at 6:37 PM, Jie Tang <totangjie@gmail.com> wrote:
> hi Rusers
>
> I am trying to use symbos in gtools package
>
symbols(data1,data3,circle=data1/data3,inches=0.1,bg="lightgreen")
>
> Now I want to give a lengend to tell the reader the meaning or magnitude of
> these circle.
> How can I add these information in symbols plot just like legend in plot ?
> thank you .
> --
> TANG Jie
> Email: totangjie@gmail.com
> Tel: 0086-2154896104
> Shanghai Typhoon Institute,China
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Gregory (Greg) L. Snow Ph.D.
538280@gmail.com
[[alternative HTML version deleted]]