Dieter Menne wrote:

> Hello, friends of mosaicplot,
> 
> I want to attach a fixed legend to mosaicplot, e.g. -3..3 independently of
> the data in the graphics. This must be hidden somehow in shading/legend, but
> I could not get the right handle to it.
> 
> Dieter
> 
> ______________________________________________
> [email protected] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Example:

   plot(1:10)
   legend(par("usr")[2], par("usr")[4],
          legend="Example", pch=1, xjust=1)

Uwe Ligges

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

Reply via email to