[R] Fixed legend in vcd/mosaicplot
Uwe Ligges
ligges at statistik.uni-dortmund.de
Tue Mar 21 13:56:27 CET 2006
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
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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
More information about the R-help
mailing list