[R] lattice: How to display no box but only a y-axis on the left + Thicker lines
baptiste auguie
baptiste.auguie at googlemail.com
Wed Sep 30 10:02:08 CEST 2009
2009/9/30 lith <minilith at 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, data=data.frame(y=rnorm(10),x=sample(letters[1:3],10,repl=T)),
par.settings=list(axis.line=list(col=NA)), scales = list(col =
1), panel=mpanel)
HTH,
baptiste
>
> Thanks,
> Tom
>
> ______________________________________________
> R-help at 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.
>
More information about the R-help
mailing list