0
df.test <- data.frame(val=c(0.55,0.42,-0.05),name=letters[1:3],
desc='This is the description of values'
p <- ggplot(df.test, aes(name, val, label = desc)) +
geom_bar(stat = "identity", col = 'black', fill = 'lightgreen') +
labs(title = "Test", x = " ", y = "value", fill = "") +
theme_bw() +
guides(fill = FALSE)
p + geom_text(angle = 90, size = 8, hjust = 1.25, position = position_dodge(width = 0.9))
これは、次のプロットを生成:整列テキスト
をすべてのように私は、テキストを整列させ、各チャートの先頭から開始することを強制したいですそれらを表示することができます(小さなチャートの外にある場合は問題ありません)。どうすればこれを達成できますか?
正確に、感謝します。 –