I entered the commands below to develop a core plot. It works, but the plot shows up sandwiched against the bottom margin. Changing par(mar=c(5, 4, 4, 2) + 0.1) parameters has no impact on the placement of the corrplot. Ideas?
library(corrplot)
a <- seq(1,10,1)
b <- seq(2,20,2)
c <- seq(3,30,3)
z <- data.frame(a,b,c)
corrplot(cor(z))
Add the margins directly to the corrplot()
call like this:
corrplot(cor(z), mar = c(1, 1, 1, 1))
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With