Re: [R] Getting rid of borders on semi-transparent plotting symbols

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Tue, 22 Apr 2008 20:07:26 +0100 (BST)

On Tue, 22 Apr 2008, Dieter Menne wrote:

> Karl Ove Hufthammer <Karl.Hufthammer <at> math.uib.no> writes:
>
>>
>> R version 2.7.0 RC (2008-04-20 r45403)
>>
>> When using semi-transparent filled plotting symbols, the border of the
>> symbol has a different (darker) colour than the interior:
>>
>> plot(0, 0, pch=19, col="#FF000022")
>>
> Same R version, Window, the problem turn up on-screen, but not when I do
>
> pdf()
> plot(0, 0, pch=19, col="#FF000022")
> dev.off()

This is subtle -- both devices are doing what they are documented to do. E.g. see p.538 of the PDF reference manual -- and BTW PDF viewers do not always follow the specification. (That's not to say that they are doing what the graphics engine expects, because I cannot find that documented. But then the first technical documentation of the device API is in the 'R Internals' manual for 2.7.0.)

But symbol 19 is asking to both stroke and fill the circle, and we first need to resolve if that is the intention. I've asked the designer for clarification.

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

______________________________________________
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 Tue 22 Apr 2008 - 19:39:23 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 Tue 22 Apr 2008 - 21:30:33 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