问题
How to R plot legend with transparent background when using plot()
function ?
回答1:
Use: bg="transparent" in
legend()
Such as:
legend("right",bg="transparent",col=c(as.numeric(unique(df$group2))),cex=0.5)
来源:https://stackoverflow.com/questions/36939470/r-plot-legend-with-transparent-background