[R] Draw plot.table axis on right hand side
Dieter Menne
dieter.menne at menne-biomed.de
Tue Jul 28 09:18:58 CEST 2009
Sean Carmody 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
--
View this message in context: http://www.nabble.com/Draw-plot.table-axis-on-right-hand-side-tp24689766p24693737.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list