equinor / videx-wellog

Well log components
https://equinor.github.io/videx-wellog/
MIT License
20 stars 7 forks source link

Color gradient fill for area plots #128

Open hkfb opened 2 years ago

hkfb commented 2 years ago

Support for coloring the area under the line plots, using color gradient corresponding to the value of the plot, using a specified color map.

The color map will contain mappings between continuous values and colors.

Example continuous mapping:

{
    0.0 : [100, 100, 0]
    0.5 : [100, 100, 50]
    1.0 : [100, 100, 255]
}

Example plot:

image