[R] Problems in plot
Uwe Ligges
ligges at statistik.uni-dortmund.de
Sat May 1 10:54:01 CEST 2004
"Yao, Minghua" wrote:
>
> The problem is still there if windows() is used.
OK, so we need a reproducible example. Please specify some code that
results (at least sometimes) in the mentioned error message.
I tried
for(i in 1:20){
windows()
par(cex = 0.75)
plot(1:10)
}
and all plots came out well...
Uwe Ligges
> Minghua
>
> ________________________________
>
> From: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk]
> Sent: Thu 4/29/2004 9:31 AM
> To: Yao, Minghua
> Cc: R Help
> Subject: Re: [R] Problems in plot
>
> The primary graphics device under Windows is called *windows* not *x11*.
>
> Something in your Windows setup is sometimes failing to choose a
> reasonable window size. I have never seen that, and suspect it is nothing
> to do with it, but please use windows() and see if the problem vanishes.
>
> On Thu, 29 Apr 2004, Yao, Minghua wrote:
>
> > Hello,
> >
> >
> >
> > I have R1.9.0 under Windows XP. My program plots several plots using
> >
> > x11()
> > par(cex = 0.75)
> > ......
> > x11()
> > par(cex = 0.75)
> > ......
> > x11()
> > par(cex = 0.75)
> > ......
> > x11()
> > par(cex = 0.75)
> > ......
> >
> > Sometimes, one of them generates a small frame only with title area "R graphics: Device X (ACTIVE)". The message in the console window is
> >
> > Error in plot.new() : Figure margins too large
> >
> > This program ran well under R1.6.X under Windows NT.
> >
> > It seems to me that it is not a specific x11() that generates that small graphics frame.
> >
> > Thank you for you help in advance.
> >
> > Minghua
> >
> >
> >
> >
> >
> > [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help at stat.math.ethz.ch mailing list
> > https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> >
> >
>
> --
> 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://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
More information about the R-help
mailing list