Do not want scientific notation on plot axis

前端 未结 7 1837
死守一世寂寞
死守一世寂寞 2020-11-30 22:12

I regularly do all kinds of scatter plots in R using the plot command.

Sometimes both, sometimes only one of the plot axes is labelled in scientific not

相关标签:
7条回答
  • 2020-11-30 23:03

    Normally setting axis limit @ max of your variable is enough

    a <- c(0:1000000)
    b <- c(0:1000000)
    
    plot(a, b, ylim = c(0, max(b)))
    
    0 讨论(0)
提交回复
热议问题