Dieter Menne wrote: > > With an ordinary plot, to customise the axis it is possible to suppress > > drawing the axis and then call Axis. I have been trying to change the > > location of the y-axis on a plot.table plot to the right hand side, but > > cannot even work out how to suppress drawing the labels. > > > > > > Thanks for the nice example. "plot" calls mosaicplot, and looking at the > code it seems that the labels are rather hard-wired. Even dirty tricks like > setting the margins do not help, and > > data$a <- c("", "", "", "", "")[data$x] > > neither. > > So I would recommend to use package vcd instead, which has very detailed > detail handling. > > Dieter
Thanks Dieter. I see vcd had a detailed vignette. That should help me get to grips with mosaic, which does appear to be extremely flexible. -- Sean Carmody The Stubborn Mule http://www.stubbornmule.net http://twitter.com/seancarmody [[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.