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

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

On Tue, 22 Apr 2008, Dieter Menne wrote:

> Karl Ove Hufthammer <Karl.Hufthammer <at>> 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")

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,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
PLEASE do read the posting guide
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 Please read the posting guide before posting to the list.

list of date sections of archive