В Mon, 17 Jun 2024 19:38:21 +0200
Yosu Yurramendi пишет:
> output$distPlot <- renderPlot({
> numrows <- 3; numcols <- 3
> a <- c(1,0,1,1,1,1,1,0,1)
> pattern <- matrix(a, numrows, numcols, byrow=TRUE)
> palette <- c("#", "black")
> par(bg="#")
>
adjustcolor("#123456", alpha = 0.5) will return the indicated color
with an alpha transparency of 50% .
On Thu, Jun 6, 2024 at 11:07 AM Yosu Yurramendi
wrote:
>
> What is the HEX code for "transparent" color?
> I've tried "" "FF00" "", but they don't work.
> Thanks
>
>
Thank you all very much for the answers given (Greg, Robert, Duncan,
Roland).
Actually, I had tried with "#" and "#FF00" (I had a mistake in
the message). For example it works with:
numrows <- 3; numcols <- 3
a <- c(1,0,1,1,1,1,1,0,1)
(pattern <- matrix(a, numrows, numcols,
On 6/6/24 18:41, Duncan Murdoch wrote:
On 2024-06-06 4:37 a.m., Yosu Yurramendi wrote:
What is the HEX code for "transparent" color?
I've tried "" "FF00" "", but they don't work.
If the other answers don't solve your problem, you should give us some
context. Not all
You would set the alpha of an existing color and give it a new name and then
refer to it by name rather than using HEX codes.
On June 6, 2024 11:08:06 AM EDT, Greg Snow <538...@gmail.com> wrote:
>You need a "#" at the beginning of the string to specify that it is a
>hex code for the color. Try
On 2024-06-06 4:37 a.m., Yosu Yurramendi wrote:
What is the HEX code for "transparent" color?
I've tried "" "FF00" "", but they don't work.
If the other answers don't solve your problem, you should give us some
context. Not all graphics functions in R can handle
You would give an existing color a new name and modify the new name's
alpha. Then refer to the color by the new name instead of using HEX.
On Thu, Jun 6, 2024, 11:07 AM Yosu Yurramendi
wrote:
> What is the HEX code for "transparent" color?
> I've tried "" "FF00" "", but
You need a "#" at the beginning of the string to specify that it is a
hex code for the color. Try "#".
On Thu, Jun 6, 2024 at 9:07 AM Yosu Yurramendi
wrote:
>
> What is the HEX code for "transparent" color?
> I've tried "" "FF00" "", but they don't work.
> Thanks
>
>
What is the HEX code for "transparent" color?
I've tried "" "FF00" "", but they don't work.
Thanks
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
9 matches
Mail list logo