brendanjmeade / result_manager

Graphical result viewer for celeri
0 stars 0 forks source link

Decide on colors for each velocity field #2

Closed brendanjmeade closed 2 months ago

brendanjmeade commented 2 months ago

Assigning to @jploveless because he has experience with what worked well and what didn't in ResultManager.

run_1
run_2
jploveless commented 2 months ago

In result_manager, we could use

from bokeh.colors import RGB

and use the same colors as ResultManager, which are:

For run_2, all color triplets are multiplied by 0.8, and the colored arrows are actually overlain on gray arrows of width 2, of grayscale value color = RGB(r = 205, g = 205, b = 205). This gives a sort of highlighted appearance, but the downside is that it doubles the number of plotted line objects.

brendanjmeade commented 2 months ago

Understood and I'll work on that!

jploveless commented 2 months ago

Half addressed in https://github.com/brendanjmeade/result_manager/commit/1aaacf4850e7fcfaeaf937eae1fef27bd003d505

Still need to set a unique color for Mogi and then add folder 2 with modified colors.

jploveless commented 2 months ago

Unique colors implemented in https://github.com/brendanjmeade/result_manager/commit/6773bbcf72a7923e05521ea3a94f518353de5151

I didn't add the gray highlighting, but I think the colors are sufficiently distinct as is.