Color Range

- [source code]

Use this component to access a library of typical gradients useful throughout Ladybug. The output from this component should be plugged into the colors_ input of the "Legend Parameters" component.

Note that the colorblind friendly schemes have prioritized readability for red-green colorblindness (deuteranomaly, protanomaly, protanopia, and deuteranopia), which is by far more common than blue-yellow colorblindness. However, they are not necessarily ideal for all types of color blindness, though they are monotonic and perceptually uniform to all forms of color vision. This means that they should be readable as a dark-to-light scale by anyone.

For an image of each of the gardients in the library, check here: https://github.com/ladybug-tools/lbt-grasshopper/blob/master/gradients.png

Inputs

  • index

An index refering to one of the following possible gradients: 0 - Original Ladybug 1 - Nuanced Ladybug 2 - Multi-colored Ladybug 3 - Ecotect 4 - View Study 5 - Shadow Study 6 - Glare Study 7 - Annual Comfort 8 - Thermal Comfort 9 - Peak Load Balance 10 - Heat Sensation 11 - Cold Sensation 12 - Benefit/Harm 13 - Harm 14 - Benefit 15 - Shade Benefit/Harm 16 - Shade Harm 17 - Shade Benefit 18 - Energy Balance 19 - Energy Balance w/ Storage 20 - THERM 21 - Cloud Cover 22 - Black to White 23 - Blue, Green, Red 24 - Multicolored 2 25 - Multicolored 3 26 - OpenStudio Palette 27 - Cividis (colorblind friendly) 28 - Viridis (colorblind friendly) 29 - Parula (colorblind friendly)

Outputs

  • colors

A series of colors to be plugged into the "LB Legend Parameters" component.

Last updated