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.
これは棒グラフの私のコードです:
ggplot(d, aes(x=column1, y =column2)) + geom_bar(position=position_dodge()) + opts(panel.background = theme_rect(fill='white', colour='white'))
column1- バーの名前。
column1
名前のフォントを大きくするにはどうすればよいですか?
x 軸ラベルのサイズを変更するには、axis.text.x=内側opts()(古いバージョンの を使用している場合ggplot2) または内側theme()(ggplot2バージョン 0.9.1 以降) を使用する必要があります。
axis.text.x=
opts()
ggplot2
theme()
+opts(axis.text.x=theme_text(size=13)) +theme(axis.text.x=element_text(size=13))