guides()函式將圖例引到fill屬性中,再使圖例反轉即可。 百分比堆疊式:. ggplot(data = df, mapping = aes(x = factor(x), y = z, ...
確定! 回上一頁