Re: [R] Problems in plot

About this list Date view Thread view Subject view Author view Attachment view

From: Uwe Ligges (ligges@statistik.uni-dortmund.de)
Date: Sat 01 May 2004 - 18:54:01 EST


Message-id: <409365A9.5F2A8FE2@statistik.uni-dortmund.de>


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

______________________________________________
R-help@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


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:07 EST