From dwinsemius at comcast.net  Mon Apr 16 21:14:54 2018
From: dwinsemius at comcast.net (David Winsemius)
Date: Mon, 16 Apr 2018 12:14:54 -0700
Subject: [Rd] alpha transparency doesn't work for lines when xpd=TRUE
In-Reply-To: <BBFFC8D403F0364E9A4176D542D830E912BF842A@SRV12-0032.cri.camres.org>
References: <BBFFC8D403F0364E9A4176D542D830E912BF842A@SRV12-0032.cri.camres.org>
Message-ID: <64DA81B1-69D2-4457-95FA-7FFFF24F01A3@comcast.net>


> On Apr 16, 2018, at 10:41 AM, Jiaxuan Chen <Jiaxuan.Chen at cruk.cam.ac.uk> wrote:
> 
> Dear R-devel,
> 
> I think I've found a bug - the alpha transparency doesn't work when plotting lines with xpd = TRUE.
> 
> #works
> plot(1:20, col="#1874CD", xpd=T, type="l")
> 
> #works
> plot(1:20, col="#1874CD50", xpd=F, type="l")
> 
> #doesn't work
> plot(1:20, col="#1874CD50", xpd=T, type="l")

It's behaving as expected (last two lines light blue) on a Mac (El Capitan) and R 3.4.3. (I did check to see if T and F were still TRUE and FALSE at the time. It's possible that they were not in your session. Only TRUE and FALSE are reserved words.)
> 
> Thank you.
> 
> Jim
> 
> 
> 	[[alternative HTML version deleted]]

All the R mailing lists are plain text.

> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

David Winsemius
Alameda, CA, USA

'Any technology distinguishable from magic is insufficiently advanced.'   -Gehm's Corollary to Clarke's Third Law



[Rd] alpha transparency doesn't work for lines when xpd=TRUE
David Winsemius