Skip to content
Prev 23797 / 29559 Next

Excessive whitespace in saved images from sp::plot()

Matt,

png() opens a new device with different settings:
[1] 0 0 0 0
[1] 5.1 4.1 4.1 2.1

That is why you need to call par() after png().

Best,

Virgilio