Skip to content
Prev 8218 / 15076 Next

Error in plot.new() : figure margins too large

On Jul 20, 2011, at 5:55 AM, Timothy Bates wrote:

            
The error comes from R, not Quartz. There is a big difference between a redraw and rerun: when you resize R just re-plays the display list, it doesn't create any new objects. When you rerun you are creating new graphics objects and R refuses to do so if your plot window is to small. This makes sense, because redraw doesn't change the layout according to the window dimensions while rerun does. That's why typically it's a bad idea to draw a plot and then resize the window without rerunning the code since the result will look different (worse).

Cheers,
Simon