Gradient / Slope color palette

67 views
Skip to first unread message

pinaman

unread,
Sep 7, 2022, 1:02:06 PM9/7/22
to golden-cheetah-users
Any help or ideas how to select color palette for slope/gradient?

What should be ranges for each color? For example: for each 0,5% one color OR for each 1% one color OR even less precise?
Should colors be (?):
- downhill: blue shades
- flat (-ish): green shades
- uphill: yellow-red shades

I think green to yellow is more "natural" transition, than blue to yellow. That's why blue -> green -> yellow-red.

Guilherme Silva

unread,
Sep 8, 2022, 6:14:15 AM9/8/22
to pinaman, golden-cheetah-users

This library is widely used in data science, and has a in deep description of how to use colors in the link. 

You're asking for divergent scales, as I understand, and there are some samples in the library.In a application, I would do my best for letting the user decide the parameters and would use the color codes returned by the library.

This library is in python, and I would guess someone have already ported it to C#, but I don't actually use C#, so I can't judge a good one.

Guilherme 





--
_______________________________________________
Golden-Cheetah-Users mailing list
golden-che...@googlegroups.com
http://groups.google.com/group/golden-cheetah-users?hl=en
---
You received this message because you are subscribed to the Google Groups "golden-cheetah-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golden-cheetah-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golden-cheetah-users/d900b0a8-a166-4323-9c24-ace29f596624n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages