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.
我正在尝试使用 y 和 x 轴上的对数刻度来绘制我的数据。但是,我想在我的绘图上禁用对数刻度的指数表示法。而不是 10^0,10^1,10^2,我想要 1, 10, 100...
请问,我怎样才能在ggpubr包内完成这个?
ggpubr
虚拟数据:
require(ggpubr) data(cars) p <- ggscatter(cars, x = "speed", y = "dist") p + yscale("log10", .format = TRUE)
设置format为FALSE(默认值)给出:
format
FALSE
p + yscale("log10")