-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make palette for herd status diplayed on maps #10
Comments
Dear Petter, To run i just copy the code to a new document in Rstudio (it wasn't possible to copy the whole file to GitHub) Johan Display_color_scales.R : Taken mostly from https://tradeblotter.wordpress.com/2013/02/28/the-paul-tol-21-color-salute/Function for plotting colors side-by-sidepal <- function(col, border = "light gray", ...){ Function for plotting colors as piepalpie <- function(col) title <- deparse(substitute(col)) pie(ones, col=col, cex=1, main = title) ########## DEFINE Color palettes ######### #From Paul Tol: https://personal.sron.nl/~pault/ Tol_muted <- c('#88CCEE', '#44AA99', '#117733', '#332288', '#DDCC77', '#999933','#CC6677', '#882255', '#AA4499', '#DDDDDD') Tol_light <- c('#BBCC33', '#AAAA00', '#77AADD', '#EE8866', '#EEDD88', '#FFAABB', '#99DDFF', '#44BB99', '#DDDDDD') #From Color Universal Design (CUD): https://jfly.uni-koeln.de/color/ From KatieKatie <- c("#D55E00","#E69F00","#F0E442","#56B4E9","#009E73","black","grey") OthersECDC <- c("#65B32E","#7CBDC4","#C0D236","#3E5B84","#008C75","#82428D","#E8683F","#B81A5D") colorBlindBlack8 <- c("#000000", "#E69F00", "#56B4E9", "#009E73", ########################## SHOW as multiple strips ################### pal(Okabe_Ito) ########################## SHOW as multiple PIE Charts ################### palpie(Okabe_Ito) ########################## SHOW as single PIE Chart ################### palpie(Okabe_Ito) |
The colours in the graphical profile don't cover this.
The colours should be established in accord with the discussion in the Teams group.
We need to find a good name for the palette(s).
The text was updated successfully, but these errors were encountered: