algorithmic modeling for Rhino

Hello everyone, I am new to Grasshopper and Ladybug, so I need your help. I would like to visualize hourly indoor operative temperatures. I want to see the hours above 25 C in red, the hours below 18 C in blue, and the hours of between 18 C and 25 C in yellow for example. And the legend should tell me the % of hours in these ranges. 

I tried to enter my values to lowbound and highbound, created custom colors with using swamp in 3 segment in legendPar. But, I couldn't achieve my goal. I still see gradient colors in the graph... Can anybody suggest me a proper way to do this?
The image below is an example plot that I would like to get at the end. Any help is appreciated.

Views: 589

Replies are closed for this discussion.

Replies to This Discussion

Hi Aylin,

This is possible but not an easy task for a starter. Ladybug currently doesn't support custom legends similar to what you're trying to create. At the same time you can use Ladybug and customize the visualization to get what you want. Attached is an example to get you started.


Hi Aylin, hi Mostapha,

I've been working on a similar visualization as well. Attached you can find the example. It's not super dynamic right now, I'll try to improve it in the future.


Nice work! Thanks for sharing.

Thanks very much to both of you! These are very helpful. I will work on these, and give you an update soon.






  • Add Photos
  • View All

© 2022   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service