search for: d55e00

Displaying 7 results from an estimated 7 matches for "d55e00".

2023 Jul 23
2
col2rgb() function
...ugh to make them all 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...
2023 Jul 23
2
col2rgb() function
...s That works nicely 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 b...
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)...
2023 Jul 23
1
col2rgb() function
...; > 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 pal...
2023 Jul 23
1
col2rgb() function
...> 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 pal...
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
...lines differently, using 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,colou...