概要
plot.margin
で指定するのですが、上下左右の4つの値が必要となります。
公式のマニュアルだと、legend.margin
の例しか出てないので勘違いしていました。
例
g + theme(plot.margin= unit(c(1, 1, -1, 1), "lines"))
Go to list of users who liked
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