0
我正在使用以下命令在我的圖上繪製圖例。由於我有超過30個標籤,我的一些標籤不在我的情節中。我需要知道如何減少我的情節的大小。如何更改R中grid_legend命令中圖例文本的大小?
grid_legend(0.9, 0.6, pch, col, labels, title="Bacterial Phyla")
我嘗試使用cex=1
命令和text.width=0.5
評論。但它沒有奏效。我收到一條錯誤消息:
"Error in grid_legend(0.9, 0.5, pch, col, labels, text.width = 0.5, title = "Bacterial Class") :
unused argument (text.width = 0.5)"