Re: [R] Point size problem

From: Marcin Kozak <nyggus_at_gmail.com>
Date: Thu, 26 Jun 2008 14:49:00 +0200

Sorry. I'm using Windows XP and R 2.7.0, and the same problem occurred for various graphics devices (windows, pdf, jpeg).

Marcin

On Thu, Jun 26, 2008 at 11:54 AM, Prof Brian Ripley <ripley_at_stats.ox.ac.uk> wrote:
> On Thu, 26 Jun 2008, Marcin Kozak wrote:
>
>> Hi all,
>>
>> I have a simple question and couldn't find any post on this. When
>> plotting simple scatterplots (other plots as well), e.g.,
>>
>> x<-rnorm(30, 10, 1)
>> y<-rnorm(30, 10, 1)
>> plot(x, y, pch = 15, cex = 1),
>>
>> the points, even those close to each other, may have visibly different
>> sizes. Do you know what's going on with that?
>
> No, because you haven't followed the posting guide and told us your OS, R
> version and what graphics device this is.
>
> This may be an artefact of rasterization in the device, since you are
> plotting squares with numeric (not integer) coordinates, and these need to
> be mapped to pixels on a screen device. So for example the interval (3.7,
> 6.0) might light up 3 pixels, and (3.4, 5.7) might light up 4.
>
>>
>> Thanks in advance,
>> Marcin
>>
>> ______________________________________________
>> R-help_at_r-project.org 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
>

-- 
"Build up your weaknesses until they become your strong points" -- Knute Rockne

______________________________________________
R-help_at_r-project.org 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 Thu 26 Jun 2008 - 12:54:08 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 Thu 26 Jun 2008 - 13:31:17 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.

list of date sections of archive