[Rd] Wishlist: axis() and line widths (PR#7223)

From: <t.short_at_epri-peac.com>
Date: Tue 14 Sep 2004 - 04:18:25 EST

Full_Name: Tom Short
Version: 1.9.1
OS: Win2000 & Debian
Submission from: (NULL) (

WISHLIST: axis() has a default parameter of "lwd = 1". I want skinnier lines as the default. If I change the default lty, it doesn't change what axis uses.

The following code produces a graph with a box around it, but the axis lines are twice as thick as the box around the plot, so it looks funny. I can manually add axes and explicitly set line widths, but that's a pain. The box() function does not set lty, so it uses the default par()$lwd.

> par(lty = 0.5)
> plot(c(1,2,3))

RECOMMENDATION: In axis(), change the default for "lwd" from 1 to par()$lwd.

R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue Sep 14 04:22:18 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 09:00:16 EST