Skip to content

colors in capri-plots #5

@aleip

Description

@aleip

Enable custom color schemes for CAPRI plot.
the function setcolors() identifies fixed colors for each CAPRI element (such as crops) so that all plots get an equal look. The function has not yet set colors for all possible items and needs to be extended as the needs arise.
An example of colors are given in below.
Depending on the plot, the elements could be in ROWS or COLS.

setcolors() returns a function colfun(n) with n indicating the number of colors required.

however, as shown in the attached file - the use in the plotting functions (here: plotbars()) does not work!

res_2_0830epnf_refpol_endotechall_SSP1mp_SSP1mpmbal_SSP1-SSP2-SSP3-SSP4-SSP5.pdf

cere_othe_cols

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions