Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement logarithmic color_continuous_scale #3616

Open
eisenlohr opened this issue Mar 7, 2022 · 2 comments
Open

implement logarithmic color_continuous_scale #3616

eisenlohr opened this issue Mar 7, 2022 · 2 comments
Labels
feature something new P3 backlog

Comments

@eisenlohr
Copy link

It would be helpful to have an option (named, for instance, log_color) that allows using color maps on logarithmic scales, similar to log_x, log_y, log_z. This would essentially rescale the standard linear color range to the corresponding log values, i.e. coloring of v would be linear in log(v).

@cemde
Copy link

cemde commented Nov 24, 2022

is this related to #3735 ?

@eisenlohr
Copy link
Author

is this related to #3735 ?

Yes, seems to be the same issue. What is missing is a simple way to have the color scale be equidistant on a log (in contrast to linear) scale.

Let's say the color range is between values A and B.
Linear example: value (A+B)/2 is colored using the midpoint of the color scale.
Log example: value sqrt(A*B) is colored using the midpoint of the color scale

@gvwilson gvwilson self-assigned this Jul 11, 2024
@gvwilson gvwilson removed their assignment Aug 2, 2024
@gvwilson gvwilson added the P3 backlog label Aug 12, 2024
@gvwilson gvwilson changed the title logarithmic color_continuous_scale implement logarithmic color_continuous_scale Aug 12, 2024
@gvwilson gvwilson added the feature something new label Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new P3 backlog
Projects
None yet
Development

No branches or pull requests

3 participants