[R] Changing tcl in boxplot

Uwe Ligges ligges at statistik.uni-dortmund.de
Tue Aug 28 14:19:25 CEST 2007

ilikelotsofbroccoli at googlemail.com wrote:
> How can I change the tick marks in a boxplot so that they lie on the
> inside of the x and y axes? In plot I have been setting tcl=0.2 but
> that doesn't do anything in boxplot. What am I missing?

You cannot set "tcl" in arbitrary plot functions, but you can set it for 
the current device, hence


does the trick.

Uwe Ligges

> Thanks,
> Emily
> ______________________________________________
> R-help at stat.math.ethz.ch 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