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

Point color value overwritten by interpolation #50

Open
frjariello opened this issue Sep 9, 2024 · 0 comments
Open

Point color value overwritten by interpolation #50

frjariello opened this issue Sep 9, 2024 · 0 comments

Comments

@frjariello
Copy link

frjariello commented Sep 9, 2024

Hi,
I noticed that if I have close points, the color represented does not correspond to the value of that point, but is influenced by the interpolation of adjacent points, I attach an image.
The values ​​are the following (max=28)
data = [ [50,150,16], [150,150,18], [250,150,20], [350,150,22], [450,150,24], [550,150,20], [650,150,28], [470,300,16], [500,300,18], [530,300,20], [560,300,22], [590,300,24], [620,300,20], [650,300,28] ];
The two rows have the same values, but those above (more distant) are represented correctly, while the row below, in particular the second value from the right, is influenced by the first on the right.
However, this is not correct because having that point a specific value should be represented based on the gradient, and the interpolation should act only in the blank space between two (or more) points.
Is there a way to optimize this situation?
Thanks for your work.
sh_1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant