Remove all axis values and labels in twoord plot
问题 I want to remove all the axis including x, left and right y but retain the boundary of the plot. I tried to set xaxt and yaxt to 'n' but no luck. library(plotrix) twoord.plot(2:10,seq(3,7,by=0.5)+rnorm(9), 1:15,rev(60:74)+rnorm(15), type=c("bar","l"), xaxt='n', yaxt='n') Is there any suggestion? Thanks in advance. 回答1: I don't think so from what I saw. It's easy enough to create this plot anyway: library('plotrix') set.seed(1) x1 <- 2:10 y1 <- seq(3,7,by=0.5)+rnorm(9) x2 <- 1:15 y2 <- rev(60