Edge of the field in the chart window

I entered the commands below to develop the main plot. It works, but the plot shows sandwiched on the lower border. Changing the parameters par (mar = c (5, 4, 4, 2) + 0.1) does not affect the placement of the root crop. 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))
+4
source share
1 answer

Add fields directly to the call corrplot()as follows:

corrplot(cor(z), mar = c(1, 1, 1, 1))
+3
source

Source: https://habr.com/ru/post/1686072/


All Articles