概要
plot.marginで指定するのですが、上下左右の4つの値が必要となります。
公式のマニュアルだと、legend.marginの例しか出てないので勘違いしていました。
例
g + theme(plot.margin= unit(c(1, 1, -1, 1), "lines"))
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 5 years have passed since last update.
plot.marginで指定するのですが、上下左右の4つの値が必要となります。
公式のマニュアルだと、legend.marginの例しか出てないので勘違いしていました。
g + theme(plot.margin= unit(c(1, 1, -1, 1), "lines"))
Register as a new user and use Qiita more conveniently
Go to list of users who liked