Skip to content

Point color value overwritten by interpolation #50

@frjariello

Description

@frjariello

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions