search for: 56b4e9

Displaying 8 results from an estimated 8 matches for "56b4e9".

2023 Jul 23
2
col2rgb() function
Thanks 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 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 W...
2023 Jul 23
2
col2rgb() function
...rs but these don?t work directly in rgb because they are too big. If I divide through 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&qu...
2023 Jul 23
1
col2rgb() function
...t;, alpha = 0.3) On Sun, 23 Jul 2023, Nick Wray wrote: > Thanks 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...
2023 Jul 23
1
col2rgb() function
...7-3229 (office) On 7/23/2023 1:00 PM, Nick Wray wrote: > Thanks 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,ce...
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
...ng to plot flows in a number of rivers within the same plot, and need to colour the 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&quo...
2017 Jun 30
0
Multiple "scale_color_manual" statements in one plot (ggplot2, flexible legend challenge)
...0.14, 0.159, 0.178, 0.199, 0.223, 0.247, 0.269, 0.291, 0.312, 0.338, 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', siz...