Skip to content
Prev 11024 / 398502 Next

Troubles with plot margins

On Wed, 2 May 2001, Marco Taboga wrote:

            
mai matches main, which is an argument to plot.default.
It can't be set in plot, anyway.
Warning messages:
1: parameter "mai" couldn't be set in high-level plot() function
2: parameter "mai" couldn't be set in high-level plot() function
...

Use

par(mai=c(1,1,1,1))
plot(rnorm(1000))