[R] plotting symbols: bug?
Henrik Bengtsson
hb at maths.lth.se
Sat Feb 23 10:59:10 CET 2002
I tried (almost) the same on WinMe:
>symbols(1:8,1:8,circle=c(1,2,3,4,88,0,0,50),inches=0.2)
and I can't see the first *two* circles. Trying to generate a jpeg output
using
>jpeg(file="foo.jpg", width=640, height=640)
>symbols(1:8,1:8,circle=c(1,2,3,4,88,0,0,50),inches=0.2)
>dev.off()
gives the same result. dev.copy2eps() works fine.
Henrik Bengtsson
Dept. of Mathematical Statistics @ Centre for Mathematical Sciences
Lund Institute of Technology/Lund University, Sweden (+2h UTC)
Office: P316, +46 46 222 9611 (phone), +46 46 222 4623 (fax)
h b @ m a t h s . l t h . s e
http://www.maths.lth.se/bioinformatics/
> -----Original Message-----
> From: owner-r-help at stat.math.ethz.ch
> [mailto:owner-r-help at stat.math.ethz.ch]On Behalf Of Prof Brian Ripley
> Sent: Friday, February 22, 2002 10:59 PM
> To: Thomas de Cornulier
> Cc: r-help
> Subject: Re: [R] plotting symbols: bug?
>
>
> On Fri, 22 Feb 2002, Thomas de Cornulier wrote:
>
> > Dear all,
> > I spent a long time today to find out why symbols( ) didn't
> display all my points.
> > In fact, the function cannot display circles with a small
> radius when the range of
> > radii is too large, whereas circles with radius=0 are drawn as dots!
> > here are a simple examples:
> > >
> symbols(sample(1:8),sample(1:8),circle=c(1,4,88,0,0,0,0,50),inches=0.2)
> > #plots 6 circles
> > >
> symbols(sample(1:8),sample(1:8),circle=c(0,0,88,0,0,0,0,50),inches=0.2)
> > #plots 8 circles
> >
> > this looks quite illogical to me, should it be considered as a bug?
> >
> > I don't think it is of use, however:
> > I did this in R 1.3.0 and 1.4.1 both running on Windows 95
>
> The version information was a great deal of use. Both work correctly for
> me on Windows 2000/XP, so it looks like the bug is in Windows 95 and/or
> your graphics card driver. Time for a upgrade?
>
> --
> 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 272860 (secr)
> Oxford OX1 3TG, UK Fax: +44 1865 272595
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
> -.-.-.-.-.-.-
> r-help mailing list -- Read
http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
_._
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list