Displaying 8 results from an estimated 8 matches for "cc79a7".
Did you mean:
c2c79a0
2023 Jul 23
2
col2rgb() function
...Nick
On Sun, 23 Jul 2023 at 19:26, Ben Bolker <bbolker at gmail.com> wrote:
> Does adjustcolor() help?
>
> cb8<- c("#000000", "#E69F00", "#56B4E9", "#009E73","#F0E442", "#0072B2",
> "#D55E00", "#CC79A7")
> plot(0,0,xlim=c(1,8),ylim=c(0,1))
> points(1:8,rep(0.5,8),col=cb8,pch=19,cex=2)
> points(1:8,rep(0.75,8),col=adjustcolor(cb8, alpha.f = 0.3), pch=19,cex=2)
>
> On 2023-07-23 2:15 p.m., Nick Wray wrote:
> > Hello I have a palette vector of colour blind colours (in hexa...
2023 Jul 23
1
col2rgb() function
Does adjustcolor() help?
cb8<- c("#000000", "#E69F00", "#56B4E9", "#009E73","#F0E442", "#0072B2",
"#D55E00", "#CC79A7")
plot(0,0,xlim=c(1,8),ylim=c(0,1))
points(1:8,rep(0.5,8),col=cb8,pch=19,cex=2)
points(1:8,rep(0.75,8),col=adjustcolor(cb8, alpha.f = 0.3), pch=19,cex=2)
On 2023-07-23 2:15 p.m., Nick Wray wrote:
> Hello I have a palette vector of colour blind colours (in hexadecimal)
> which I?m using...
2023 Jul 23
2
col2rgb() function
...less than 1 I don?t get the
corresponding colour-blind hue, but something somewhat off.
Here is the colour-blind palette in a plot:
*cb8<- c("#000000", "#E69F00", "#56B4E9", "#009E73","#F0E442", "#0072B2",
"#D55E00", "#CC79A7")*
*plot(0,0,xlim=c(1,8),ylim=c(0,1))*
*points(1:8,rep(0.5,8),col=cb8,pch=19,cex=2)*
so if I try to convert the red dot ("#D55E00") (number 7) I get
*col2rgb("#D55E00"*
[,1]
red 213
green 94
blue 0
*points(7,0.25,col=rgb(rgb(213,94,0)),pch=19,cex=2)*...
2023 Jul 23
1
col2rgb() function
...2023 at 19:26, Ben Bolker <bbolker at gmail.com> wrote:
>
>> Does adjustcolor() help?
>>
>> cb8<- c("#000000", "#E69F00", "#56B4E9", "#009E73","#F0E442", "#0072B2",
>> "#D55E00", "#CC79A7")
>> plot(0,0,xlim=c(1,8),ylim=c(0,1))
>> points(1:8,rep(0.5,8),col=cb8,pch=19,cex=2)
>> points(1:8,rep(0.75,8),col=adjustcolor(cb8, alpha.f = 0.3), pch=19,cex=2)
>>
>> On 2023-07-23 2:15 p.m., Nick Wray wrote:
>>> Hello I have a palette vector of colour...
2023 Jul 23
1
col2rgb() function
...023 at 19:26, Ben Bolker <bbolker at gmail.com> wrote:
>
>> Does adjustcolor() help?
>>
>> cb8<- c("#000000", "#E69F00", "#56B4E9", "#009E73","#F0E442", "#0072B2",
>> "#D55E00", "#CC79A7")
>> plot(0,0,xlim=c(1,8),ylim=c(0,1))
>> points(1:8,rep(0.5,8),col=cb8,pch=19,cex=2)
>> points(1:8,rep(0.75,8),col=adjustcolor(cb8, alpha.f = 0.3), pch=19,cex=2)
>>
>> On 2023-07-23 2:15 p.m., Nick Wray wrote:
>>> Hello I have a palette vector of colour...
2017 Jul 12
1
Problem for installing cbPlatte on R Version 3.4.1
On 12.07.2017 12:35, Shanu Singh wrote:
> Hi John,
>
> Thanks for reply ! Sorry It was my mistake. It is *cbPalette. *Basically
> its a R package.
Come on.
- Where do you want to get thsi from?
- What have you tried to do so?
Please re-read the posting guide that helps to ask good questions.
Best,
Uwe Ligges
>
>
> Shanu
>
> On Wed, Jul 12, 2017 at 3:57 PM, John
2023 Aug 02
2
Choosing colours for lines in ggplot2
...sing a colour-blind
palette.
Code beneath works but has colours assigned by the program I have made some
simple dummy data:
## code 1
cb8<- c("#000000", "#E69F00", "#56B4E9", "#009E73","#F0E442", "#0072B2",
"#D55E00", "#CC79A7") ## this is the colour-blind palette
set.seed(020823)
df<-as.data.frame(cbind(rep(1980:1991,2),c(10*runif(12),10*runif(12)),c(rep(1,12),rep(2,12))))
colnames(df)<-c("Year","Flow","Stat")
df
ggplot(df,aes(Year,Flow,group=Stat,colour=Stat))+
coord_ca...
2017 Jun 30
0
Multiple "scale_color_manual" statements in one plot (ggplot2, flexible legend challenge)
...38, 0.36)), .Names = c("X", "P025", "P50",
"P975"), class = "data.frame", row.names = c(NA, -16L))
####code####
cols.point <- c('1'="#E69F00", '2'="#56B4E9", '3'="#009E73", '4'="#CC79A7")
shape.point <- c('1'=1, '2'=4, '3'=15, '4'=19)
ggplot(data = df1, aes(x=X)) +
geom_point(aes(y=Y2, color=GRP, shape=GRP, size=1.5)) +
geom_smooth(aes(y=Y2), method= 'loess', size=1.5) +
geom_line(data=df2, aes(y=P50), size=1.5) +
geom_rib...