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

From: <gatemaze_at_gmail.com>
Date: Wed, 09 May 2007 19:39:17 +0100

On 09/05/07, Prof Brian Ripley <ripley_at_stats.ox.ac.uk> wrote:
>
> On Wed, 9 May 2007, gatemaze@gmail.com wrote:
>
> > The code is:
> >
> > postscript(filename, horizontal=FALSE, onefile=FALSE, paper="special",
>
> You have not set a width or height, so please do your homework.

Thanks a lot for that and to Phil for replying. Just a minor "correction" to your post. "You have not set a width AND height". Both seem to be required. I had tried only with width thinking height would be calculated relatively but I was still getting the same error.

> 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
>

        [[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. Received on Wed 09 May 2007 - 18:46:26 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 09 May 2007 - 19:31:41 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.