Hey hey,
I know that this thread is old, but no one seemed to provide the answer.
Yes, there is absolutely a way to bring in transparency while still using
normal colornames.
Just use this code when specifying your color:
col=adjustcolor("colorname", alpha=0.5)
Alpha values can range from 0 to
ornia, USA
--- On Wed, 8/5/09, Gabor Grothendieck wrote:
> From: Gabor Grothendieck
> Subject: Re: [R] making scatter plot points fill semi-transparent
> To: "per freem"
> Cc: r-help@r-project.org
> Date: Wednesday, August 5, 2009, 9:13 PM
> Lattice graphics can
Lattice graphics can do that:
library(lattice)
xyplot(0:20 ~ 0:20, alpha = 0:20/20, col = "red", pch = 19, cex = 5)
Google for
HTML colors
to find out more about the hex codes you are referring to.
On Wed, Aug 5, 2009 at 11:48 PM, per freem wrote:
> hi all,
>
> i have a simple scatter plot, an
Hi,
On Aug 5, 2009, at 11:48 PM, per freem wrote:
hi all,
i have a simple scatter plot, and i'd like to make it so the scatter
plot colors are slightly transparent. i see in a previous post that
someone mentioned the "alpha" parameter, but i am not sure how it can
be used with the 'plot' funct
hi all,
i have a simple scatter plot, and i'd like to make it so the scatter
plot colors are slightly transparent. i see in a previous post that
someone mentioned the "alpha" parameter, but i am not sure how it can
be used with the 'plot' function [*].
for example, suppose i have:
plot(mydata$co
5 matches
Mail list logo