search for: axisfun

Displaying 1 result from an estimated 1 matches for "axisfun".

2008 Apr 07
3
Overriding axis formatting with custom Axis method, Axis.numeric etc
...ult and other plot methods? Or which Axis-method signatures are already defined that I should redefine? What I have succeeded so far was defining Axis.numeric and Axis.myClass, which are called by default if I supply data of class numeric or myClass. For example, a simple code like Axis.numeric = AxisFUN = function(x=NULL, at=NULL, ..., side, labels=TRUE) { if (is.null(at)) at = pretty(x) axis(at=at, ..., side=side, labels=labels, col="red", lwd=5) } run with plot(1:5,1:5) will format both axes red. However, if I execute it with plot(1:5) only x axis plotting is intercepted lea...