Skip to content
Prev 279516 / 398506 Next

axis thickness in plot()

On 2011-12-06 08:35, AlexC wrote:
Only you have the object you call 'data'. Why not provide a
simple example (reproducible and minus the obviously unnecessary
annotation) that illustrates your problem?
Presumably this gave a warning: "lwd.axis" is not a graphical parameter.
The best thing at that point (if not sooner), is to type ?axis to
see what the arguments for that function are. This would immediately
show that 'lwd' is the argument you want.
Use box() with your choice of bty and lwd. If you want different
linewidths for the x and y axes, then retrieve the coordinates of
par("usr") and use either abline() or lines().

Peter Ehlers