On Jul 29, 2008, at 6:47 PM, Jörg Groß wrote:

legend("topleft",c("Your text here"),pch=1)


Thanks!

But is it possible to get rid of the legend-box and the box-shadow?

I don't find an argument in the manual for that.


Hi,

The documentation for the argument is right there - but as always it is finding it that is the trick.

Try this...

legend("topleft",c("Your text here"),pch=1, box.lty = 0)


Cheers,
Ben




Am 30.07.2008 um 00:08 schrieb Jorge Ivan Velez:


Dear Jörg,

Perhaps,

plot(1:10)
legend("topleft",c("Your text here"),pch=1)

See ?legend and ?text for more information.

HTH,

Jorge


On Tue, Jul 29, 2008 at 6:04 PM, Jörg Groß <[EMAIL PROTECTED]>
wrote:
Is there an easy way to add a text into an R-plot and place it in
the upper left corner?

Like that:


--------------------------------
|  (a)                                  |
|                                         |
|                                         |
|                                         |
|                                         |
|                                         |
--------------------------------

The (a) should be at the borders of a box defined by the box()-
command.

______________________________________________
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.



        [[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.

Ben Tupper
[EMAIL PROTECTED]

I GoodSearch for Ashwood Waldorf School.

Raise money for your favorite charity or school just by searching the Internet with GoodSearch - www.goodsearch.com - powered by Yahoo!

______________________________________________
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.

Reply via email to