[Rd] alpha transparency doesn't work for lines when xpd=TRUE
David Winsemius
dwinsemius at comcast.net
Mon Apr 16 21:14:54 CEST 2018
> 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
More information about the R-devel
mailing list