WISH: make multiple Legend Par connections

windrose

#1

Hello guys,

Some components can collect annual hourly data and display it in additional analysis. I find it very useful but what slows me down is lack of control for the parameters for the data.

For example if I want to show temperature distribution on a wind rose with specific color scheme, low/high bounds and number of segments I have to crop wind speed diagram (left) out of the image because legend parameter that I set for the dry bulb temp (right) ruins parameters for the wind speed.

This is how it looks like (but not working):

Wind rose picks up legend par #1 only

If I’m missing something and there is a way to control multiple legends please let me know, I will delete this post.


#2

Hi Tim, You can pass a list to legend parameters if you have more than one graph. Here is an example.


#3

Thank you Mostapha,

I like this solution muuuuuuuuuuuuch better. Would you like me to remove the discussion?


#4

Please keep it here so other people can see it too. Also I’m not sure if it works the same with windrose graphs but it should. Let me know if that was the case.


#5

No problem, just tested the method on Wind Rose, I think it is safe to say that it doesn’t really work XD.


#6

You should not graft low-band and high-bound.


#7

Hey Mostapha,

No grafting or entwining, still looking bad. As I believe it should work for 3D chart just fine.


#8

Tim and Mostapha,

This is something that has been in the works for a while:

https://github.com/mostaphaRoudsari/Honeybee/issues/251

I had been meaning to implement it on all components but I only got around to implementing it for the 3D chart and the Sunpath before I realized that Mostapha was re-writing the Ladybug codebase. I thought that I should wait for this basic re-writing to be finished before implementing it on all components since I would have to re-do all of this work in a few months if I started to do it immediately.

Mostapha, when do you think we will do a release of Ladybug for Grasshopper with the new code base? If it is still several months away, perhaps I should just implement this tree-branched LegendPar on the rest of the components now. Otherwise, set a deadline and I will put forward all of my efforts to meeting it instead.

-Chris


#9

Thanks Chris! It will take a couple of months but I still think that we should implement the enhancements to the new version unless it is very critical (e.g. bug)


#10

Chris and Mostapha,

Will be waiting for a fresh release then, thank you for all your replies.


#11

Glad to hear you say this. I’ll mobilize my efforts on the new version here on out!

I just took a stab at converting the PMV comfort model over to the new format. The more that I work with object-oriented programming, the more I realize why a re-write of the code is necessary:

https://github.com/ladybug-analysis-tools/ladybug-core/commit/26747…


#12

Any update on support for this functionality with the Wind Rose Component?


#13

Hi @RoiHeinason,
Unfortunately not. We’ve not written the wind rose in the Ladybug core library yet (The New CodeBase mentioned in earlier comments). Sorry for unavailability of this feature. We’ll make it a point to integrate it.