[R] box-plot without a box surrounding the plot

stephen sefick ssefick at gmail.com
Sun Aug 10 02:31:41 CEST 2008


par(bty="l")
boxplot(count ~ spray, data = InsectSprays, col = "lightgray")
#is that what you want?

Stephen
On Sat, Aug 9, 2008 at 8:12 PM, Jörg Groß <joerg at licht-malerei.de> wrote:
> Hi,
>
> I want to draw a boxplot and I want to get rid of the surrounding box.
> So that there are only the axis lines left on the bottom and on the left.
>
> I tried a litte bit with box() but I dont get it the way I want.
>
> Can somebody help me out?
>
> ______________________________________________
> 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.
>



-- 
Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

	-K. Mullis



More information about the R-help mailing list