twoord plot in R

旧街凉风 提交于 2019-11-28 12:25:51

问题


Using the plotrix package to make a twoord plot. My attempts look like this

The problem I have is that it automatically does not plot the full left axis? Why is this?

It is the same in this example here How can I plot with 2 different y-axes?

How is it possible to get the full left y?


回答1:


As you didn't provide your data or your code, I offer this as an example:

library(plotrix)

twoord.plot(2:10, seq(3, 7, by=0.5) + rnorm(9),
            1:15, rev(60:74) + rnorm(15), 
            type= c("l", "l"), xaxt = 'n', yaxt = 'n')



来源:https://stackoverflow.com/questions/33971799/twoord-plot-in-r

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!