Uwe Ligges <ligges <at> statistik.uni-dortmund.de> writes: > > > > 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. > > Example: > > plot(1:10) > legend(par("usr")[2], par("usr")[4], > legend="Example", pch=1, xjust=1)
:> I would not dare to ask this here. mosaicplot is part of package vcd, it's now grid based, and has a very flexible but a little awkward decoration interface. "legend" is the interface to the shading legend. Dieter ______________________________________________ R-help@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