Aller au contenu

Color Tables

Overview

Color tables control how values are colored in GENESIS for objects such as assays, intervals, RQD, block-model results, and text-coded data (for example lithology summaries or tags).

The Color Tables window typically includes:

  • Search Color (numeric interval-based coloring)
  • Dictionary (text-expression coloring)
  • object-specific tabs (for example RQDS color)

Open Color Tables

  1. Go to Options.
  2. In Settings, click Color Tables…

Search Color (Numeric)

Use Search Color to map numeric values to colors.

Color Table

Create a table

  • Add a new color table in the table list.
  • Add rows using:
    • Variable
    • Min
    • Max
    • Color

Interval rule

Each row uses this rule:

  • Min is included
  • Max is excluded

So a row matches when value >= Min and value < Max.

Priority rule

Rows are evaluated in order, and the first matching row is used.

Default behavior

  • If no row matches, object color is black.
  • If no color table is defined, display falls back to black.

White means invisible

If a matching row color is white, the object is treated as invisible.

Useful tools in Search Color

  • Add / Insert / Delete / Edit rows
  • Expand: split one wide interval into multiple gradient sub-intervals
  • Create Automatic: generate a table automatically from selected source data
  • Import / Export color tables (.csv, .xlsx)
  • Sort rows by variable, min, max, or color
  • Visible Formula (optional): force visibility by expression (if false, object is hidden)

Dictionary (Text)

Use Dictionary to color objects from text content (for example Summary, tags, or other string fields).

Dictionary

A dictionary entry contains:

  • Caption
  • Code/Expression
  • Color
  • Show (Visible/Invisible)
  • CS (case-sensitive Yes/No)

Matching behavior

  • Dictionary rules are evaluated in order.
  • The first matching expression is used.
  • If an entry is marked Invisible, matching objects are hidden.

Common expression features

  • * matches any sequence of characters
  • ? matches a single character
  • logical expressions with and, or, not (and compact forms such as &&, ||, ~)
  • parentheses for grouping
  • use \s to represent a space in expressions

Dictionary management tools

  • Add, insert, delete entries
  • Move entries up/down (order matters)
  • Merge / unmerge expressions
  • Mark selected entries Visible/Invisible
  • Toggle case sensitivity
  • Create automatic dictionary from existing values
  • Create automatic dictionary from envelopes, intervals, custom tables, or logger tables
  • Import / export dictionary (.csv, .xlsx, .dicx)

Global vs Table-Specific Color Tables

Depending on the object dialog, you can use:

  • Global color table (shared for all displayed objects)
    • While all color table are global, Block model can use specific color tables.
  • Object-specific color table
    • Any table in the custom tables can define their own color table, which can override the global color table for that object.

Practical Tips

  • Keep intervals non-overlapping unless intentional.
  • Put more specific dictionary expressions before generic ones.
  • Use white/invisible and dictionary visibility carefully to avoid hiding data unintentionally.
  • Use automatic generation for first pass, then refine manually for project standards.