Re: [R] Adding key to simple plot() function

About this list Date view Thread view Subject view Author view Attachment view

From: Sean Davis (sdavis2@mail.nih.gov)
Date: Fri 28 May 2004 - 22:35:45 EST


Message-id: <BCDCAA61.87EE%sdavis2@mail.nih.gov>

Laura,

For your axis issues, look at plotting without axes [plot(....,axes=F) and
then see ?axis for making them on your own. As for labeling your data, look
at ?points and ?text.

Sean

On 5/28/04 8:27 AM, "Laura Quinn" <laura@env.leeds.ac.uk> wrote:

> I am generating a simple x,y plot to show geographical positions where
> point data has been taken. Rather than plot a graph and lay points on top
> I've opted to generate the map from the point data, ie plot(-x,-y). This
> works fine, though I am wanting to label each point 1:20 and have a key
> alongside - is this possible without getting into trellis plots? I have
> very limited time available so don't want to embark on trellis functions
> which I've never used before..
>
> Also, my x,y labels currently have a negative sign in front of them which
> I'd like to remove, but if I negate the labels they no longer fit on the
> graph as my data points are -x and -y...
>
> Any suggestions?
>
> Thanks,
> Laura
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:13 EST