[英]How to adjust the y axis ticks of R barplot to be not uniformly (not evenly spaced)
如下圖所示,如何將R條形圖的y軸刻度調整為不一致(不均勻)。
更新:我們將繪制一個圖,如下所示:
x <- c(2, 5, 15, 30, 70)
barplot(x, axes = FALSE)
axis(2, at = x)
box()
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.