默認的ggplot軸的標題是變數名稱:
默認的ggplot軸的標題是變數名稱:
默認的ggplot軸的標題是變數名稱。
library(ggplot2)
ggplot(mtcars, aes(cyl, wt))
geom_point()

uj5u.com熱心網友回復:
我不確定你把它作為副標題的理由是什么。也許簡單地移動X軸標簽的位置更有價值?
ggplot(mtcars。 aes(cyl, wt)
geom_point()
scale_x_discrete(position = "top")
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/318947.html
標籤:

