Re: [R] How to create a legend without plot, and to use scientific notation for axes label ?

From: Uwe Ligges <ligges_at_statistik.tu-dortmund.de>
Date: Thu, 10 Apr 2008 11:08:38 +0200

Ng Stanley wrote:
> Hi,
>
> I have a 3 by 2 plots per page, and would like to place a legend on the last
> region. How to do that ?

Create an empty plot, e.g.:

plot(1, type="n", axes=FALSE, xlab="", ylab="") legend(1, 1, legend = c("Hello", "World"), col=1:2,

        lwd=2, cex=3, xjust=0.5, yjust=0.5)

Uwe Ligges

> Also, is there any way to specify scientific notation for axes label ?
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> 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 Thu 10 Apr 2008 - 09:51:25 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 Thu 10 Apr 2008 - 10:30:27 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