Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
关于我在这里的问题,我有一个情节可以xlim说c(0,1000)。我怎样才能限制每条线产生的
xlim
c(0,1000)
abline(h=seq(0,45,5),col="white")
xlim沿 x 轴的宽度为0 到 500,同时保留c(0,1000)?
你可以利用?lines.
?lines
plot(1:100) sapply(seq(1,100,5), function(i) lines(c(0,50), c(i,i)))