Displaying 8 results from an estimated 8 matches for "cb8".
Did you mean:
c8
2023 Aug 02
2
Choosing colours for lines in ggplot2
Hello - I am trying 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(1...
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),...
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,...
2023 Jul 23
2
col2rgb() function
...(), which works in the sense that it gives
a vector of numbers 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 (&...
2023 Jul 23
1
col2rgb() function
...explicitly
palette.colors(8, palette = "Okabe-Ito", 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(...
2023 Jul 23
1
col2rgb() function
...Hill
Logan, UT 84322-8200
david.stevens at usu.edu
(435) 797-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...
2008 Dec 03
1
reduce limit number of arguments in methods:::cbind
...nd", c(Mlist, mlist)) # fails
# A workaround could be to use the internal cbind function on blocks of
# non S4 objects. The limitation would be reduced to the number of
# consecutive S4 objects
# After modifications
dfr2 <- is.na(dfr) # ok
cb7 <- do.call("cbind", mlist) # ok
cb8 <- do.call("cbind", c(mlist, mlist)) # ok
cb9 <- do.call("cbind", c(Mlist, mlist)) # ok
cb10 <- do.call("cbind", c(Mlist, Mlist)) # fails as expected
##### END #####
The code bellow gives an idea how to do it but was not fully tested!
Hope it helps,
Yohan...
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
...&SKCEZ5-pib3 at 7Fdnxbk{A
z9H#MKqk%pBYKnQ0fXesbeAV?HF(*I1jvHiA_{QwzCMKe`kh&4Q8gE6siY}WQ$ZZ9r
z;<x5i-YJ?Kiwum-&hslf4G-Vbbj>8?9Hm87fOM+QK?fB0uCf0Cjh!_Syo%8Tu)0af
z$K51J2kPa{39p>VJVI8((bTi$SwaJ>?Q+&w9OWe}(cw&2QAsMje3dvDH5Vw~K#2HX
z-k*mKcMMv;rR;w;jDAi<8#5orOs0WYIcaxIUtcb8 at NwfO{W{JyF7RKY_}z at k2EVvc
z`mVJ9Zl#^^%Cp6GXl at 0<w_DXN{MTq!-!gev4v==y3Ywn at IVQ{Qa at 8fXDTKyCCt%nJ
z>@(2j9#CSZQR;a9z0u`=Lgx(mHH`po at A#dyh)$Q2`^{9e4LKEAtQs|#R>1Dl``qRo
zTtbe|*Kfy!3#&MA=-^==HQ%QXnbp+&+BS&Zu8jSP?Dt=0O=lA7t%9&>XmL!*SL9Fr
zlHE0_`tYc=-*hh*K7pU4!1$9CM...