If you've ever seen the Error in plot.new(): figure margins too large
message before, this is the best overview of the problem that I could find anywhere.
There can be a lot of knobs to turn when it comes to graphics, no matter what statistical programming environment you use. In R, typing par()
at the prompt will list them all.