Skip to content

Color tables

Håvard Bjerke edited this page Dec 1, 2022 · 22 revisions

Color table use cases

  • Show discrete/continuous color legends for

    • Well log data
    • Surface properties
    • Grid properties including blocked well grid values
  • Apply color table to specific layers

    • Only show color legend for visualized layers
  • Use (read-only) library of stock color tables

    • Geological and geophysical domains RMS color table, Epos color table
    • Other (eg. d3 library)

Color table features:

  • Allow variable number of colors (eg. 3 colors for seismic)

  • Use different sampling methods

    • Sample with breakpoints (eg. narrow bands)
    • Interpolation
      • Linear (default)
      • Logarithmic
      • Nearest (eg. contours)
    • Continuous/discrete according to data
    • Scalar data Range (often termed min, max)
    • Nice to have: Dynamic sampling according to the distribution of data (cf. BLA Dashboard)
  • Create custom color tables

    • Customize color scale (ie. add, delete, change color )
    • Edit, delete, create breakpoints
    • Copy and modify existing color scale
    • Change sampling of color table
    • Nice to have: Pick color from screen
  • Mapping from scalar data to color

    • Scalar data Range (often termed min, max)
    • UNDEF or NaN (Not a Number) will be no color (transparent)
  • Discrete code mapping table

  • Nice to have: Transparency (what is the complexity needed)

    • Simple transparency, on transparency for all colors
    • Alternatively transparency varying linearly according to user defined points along colors (like RMS seismic color and transparency)
  • Schema for color tables format

Color table selector / editor design

Color table selector / editor

UX review - 1 Dec 2022

  • Reduce padding between items to reduce space
  • Auto close sections when opening other sections
  • Open interpolation settings from "..." button on legend - not good for printing
  • Open color scale editing from "..." button on scale
  • Show drop down icon on legend to indicate drop down menu - enough to change the mouse cursor to indicate
  • Overlap between color scales and labels is masking names of color scales in selection list
    • Shrink color scale
    • Label eliding
    • Place label right of scale
  • Color scale selector: Align label vertically with color scales in the list
  • Too many clicks to open drawers in accordion
    • Collapse some drawers
  • Allow opening color settings in a drawer instead of dropping down from legend
    • Create storybook example
  • Add highlighting when hovering the legend to indicate that it is editable
  • Add tooltip