On Fri, Sep 18, 2009 at 6:06 AM, baptiste auguie
baptiste.aug...@googlemail.com wrote:
No box is easy,
bwplot(y~x, data=data.frame(y=rnorm(10),x=sample(letters[1:3],10,repl=T)),
par.settings=list(axis.line=list(col=NA)))
but that seems to remove all axis lines and ticks as well. You may
Yes. You can get back the tick marks with scaless$col:
Thanks for the hint. May I kindly ask what would be the easiest way to
draw a line on the left side?
Thanks,
Tom
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
2009/9/30 lith minil...@gmail.com:
Yes. You can get back the tick marks with scaless$col:
Thanks for the hint. May I kindly ask what would be the easiest way to
draw a line on the left side?
Try this,
mpanel = function(...) { grid.segments(0,0,0,1) ; panel.bwplot(...) }
bwplot(y~x,
1.) How do I make lattice (e.g. barchart) to not draw a box but only a
y-axis on the left hand side so that the plot looks like barplot with
default settings?
Does nobody have an idea? Or is the solution that obvious?
__
R-help@r-project.org mailing
No box is easy,
bwplot(y~x, data=data.frame(y=rnorm(10),x=sample(letters[1:3],10,repl=T)),
par.settings=list(axis.line=list(col=NA)))
but that seems to remove all axis lines and ticks as well. You may
have to define a custom panel.axis() function.
An alternative is to use grid.remove() to
Hi,
I have two somewhat embarassing questions about the lattice-related
plot functions:
1.) How do I make lattice (e.g. barchart) to not draw a box but only a
y-axis on the left hand side so that the plot looks like barplot with
default settings? So that the following two code snippets look more
6 matches
Mail list logo