plotstyle() colours for PE (possibly others)
Closed this issue · 4 comments
0UmfHxcvx5J7JoaOhFSs5mncnisTJJ6q commented
I find the colours plotstyle()
returns for PE carriers … odd.
mip::plotstyle(c('PE|Coal',
'PE|Oil',
'PE|Gas',
'PE|Nuclear',
'PE|Hydro',
'PE|Biomass',
'PE|Geothermal',
'PE|Solar',
'PE|Wind'),
plot = TRUE)
Wouldn't it be worthwhile to change that to something more easily associated with the energy carriers in question? I think we were using different colours before.
dklein-pik commented
The reason is that there were no colors defined for "PE|" but only for "Primary Energy|". I added the corresponding entries to the plotstyle.csv
0UmfHxcvx5J7JoaOhFSs5mncnisTJJ6q commented
I see. Didn't plotstyle()
return 50 shades of grey for unknown entries? I guess that's why I assumed this would be defined colours. Maybe it could give a message()
informing the user that he got something made up.
dklein-pik commented
- Maybe a bit hidden: you can get this message by setting verbosity to 1 (see help).
- At some point we replaced the shades of grey by colors (is this not useful?)
0UmfHxcvx5J7JoaOhFSs5mncnisTJJ6q commented
2\. At some point we replaced the shades of grey by colors (is this not useful?)
Just unexpected. The sea of grey was my personal 'undefined entries' indicator ;)