pik-piam/mip

plotstyle() colours for PE (possibly others)

Closed this issue · 4 comments

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)

mip_plotstyles_PE
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.

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

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.

  1. Maybe a bit hidden: you can get this message by setting verbosity to 1 (see help).
  2. At some point we replaced the shades of grey by colors (is this not useful?)
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 ;)