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

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed May 9 16:07:32 CEST 2007


On Wed, 9 May 2007, gatemaze at gmail.com wrote:

> Yes, I already had a look on previous posts but nothing is really helpful to
> me.

I have never seen anyone do this before ....

> The code is:
>
> postscript(filename, horizontal=FALSE, onefile=FALSE, paper="special",

You have not set a width or height, so please do your homework.

> bg="white", family="ComputerModern", pointsize=10);
> par(mar=c(5, 4, 0, 0) + 0.1);
> plot(x.nor, y.nor, xlim=c(3,6), ylim=c(20,90), pch=normal.mark);
>
> gives error
> Error in plot.new() : figure margins too large
>
> plotting on the screen without calling postscript works just fine .
>
> Any clues? Thanks.
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list