Re: [R] Labeling different kinds of dots

From: John Fox <jfox_at_mcmaster.ca>
Date: Fri, 25 Jan 2008 10:33:56 -0500

Dear Svempa,

See ?legend.

In this case, you could have discovered the legend function via apropos("legend") or help.search("legend").

I hope this helps,
 John



John Fox, Professor
Department of Sociology
McMaster University
Hamilton, Ontario, Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox

> -----Original Message-----
> From: r-help-bounces_at_r-project.org [mailto:r-help-bounces_at_r-
> project.org] On Behalf Of Svempa
> Sent: January-25-08 6:56 AM
> To: r-help_at_r-project.org
> Subject: [R] Labeling different kinds of dots
>
>
> I have one graph with two linear plots, one where the points are marked
> with
> a triangle and the others marked with a dot. How do I label them in a
> legend
> for example, comparable to what you automatically get in Excel (sorry
> for
> the comparison people), so you know which type of point corresponds to
> which
> function?
> --
> View this message in context: http://www.nabble.com/Labeling-different-
> kinds-of-dots-tp15086299p15086299.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help_at_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.



R-help_at_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. Received on Fri 25 Jan 2008 - 15:37:53 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 25 Jan 2008 - 16:30:08 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive