r - Use axis() to draw axis without ticks -
given plot without axes, use axis add horizontal axis. on left hand side see given "baseline" plot, on right hand side desired result: the baseline plot generated using plot(1, axes = false, main = "baseline") question : how generated desired output? (condition: using axis after plot has been generated.) i expected want when specifying tick = false, labels = false , doesn't work. below tests, self-explanatory: par(mfrow = c(2,2)) plot(1, axes = false, main = "full axis") axis(1) # axis, ticks , labels plot(1, axes = false, main = "no labels") axis(1, labels = false) # axis, ticks plot(1, axes = false, main = "no ticks (and no axis)") axis(1, tick = false) # no axis (unexpected), labels plot(1, axes = false, main = "nothing (instead of axis)") axis(1, tick = false, labels = false) # nothing - expected: axis without ticks, without labels i expected last plot deliver desired output, axis not drawn @ al...