Different par() options for different plots inside a matrix layout

I'm trying to make a plot in the way:

layout(matrix(c(1,2,3,4,5,6,4,5,6,7,7,7,7,7,7),5,3,byrow=TRUE))

I'd like to apply different par() options for every plot, since I want to have different margins for every one. How could I do it with base graphics?

1 Like