ETcVnColorMap

Offers color maps (similar to GNU Octave/MATLAB types).

Syntax

Definition:

TYPE ETcVnColorMap :
(
    TCVN_CM_AUTUMN           := 0,
    TCVN_CM_BONE             := 1,
    TCVN_CM_JET              := 2,
    TCVN_CM_WINTER           := 3,
    TCVN_CM_RAINBOW          := 4,
    TCVN_CM_OCEAN            := 5,
    TCVN_CM_SUMMER           := 6,
    TCVN_CM_SPRING           := 7,
    TCVN_CM_COOL             := 8,
    TCVN_CM_HSV              := 9,
    TCVN_CM_PINK             := 10,
    TCVN_CM_HOT              := 11,
    TCVN_CM_PARULA           := 12,
    TCVN_CM_MAGMA            := 13,
    TCVN_CM_INFERNO          := 14,
    TCVN_CM_PLASMA           := 15,
    TCVN_CM_VIRIDIS          := 16,
    TCVN_CM_CIVIDIS          := 17,
    TCVN_CM_TWILIGHT         := 18,
    TCVN_CM_TWILIGHT_SHIFTED := 19,
    TCVN_CM_TURBO            := 20
)DINT;
END_TYPE

Values

Name

Description

TCVN_CM_AUTUMN

Red - orange - yellow

TCVN_CM_BONE

Black - blueish gray - white

TCVN_CM_JET

Dark blue - green - dark red

TCVN_CM_WINTER

Blue - green

TCVN_CM_RAINBOW

Red - green - purple

TCVN_CM_OCEAN

Black - blue - white

TCVN_CM_SUMMER

Green - yellow

TCVN_CM_SPRING

Pink - yellow

TCVN_CM_COOL

Cyan - magenta

TCVN_CM_HSV

Red - green - blue - red

TCVN_CM_PINK

Black - pink - light yellow - white

TCVN_CM_HOT

Black - red - yellow - white

TCVN_CM_PARULA

Blue - yellow

TCVN_CM_MAGMA

Black - magenta - light yellow

TCVN_CM_INFERNO

Black - magenta - yellow

TCVN_CM_PLASMA

Blue - magenta - yellow

TCVN_CM_VIRIDIS

Purple - yellow

TCVN_CM_CIVIDIS

Blue - gray - yellow

TCVN_CM_TWILIGHT

White - light blue - dark purple - light red - white

TCVN_CM_TWILIGHT_SHIFTED

Dark purple - light blue - white - light red - dark purple

TCVN_CM_TURBO

Dark blue - light green - dark red

Color gradients

The enum ETcVnColorMap defines color gradients for the creation of color tables with the help of the function F_VN_GenerateColorMap. The following color gradients are predefined:

NONE

ETcVnColorMap 1:

AUTUMN

ETcVnColorMap 2:

BONE

ETcVnColorMap 3:

JET

ETcVnColorMap 4:

WINTER

ETcVnColorMap 5:

RAINBOW

ETcVnColorMap 6:

OCEAN

ETcVnColorMap 7:

SUMMER

ETcVnColorMap 8:

SPRING

ETcVnColorMap 9:

COOL

ETcVnColorMap 10:

HSV

ETcVnColorMap 11:

Pink

ETcVnColorMap 12:

HOT

ETcVnColorMap 13:

PARULA

ETcVnColorMap 14:

MAGMA

ETcVnColorMap 15:

INFERNO

ETcVnColorMap 16:

PLASMA

ETcVnColorMap 17:

VIRIDIS

ETcVnColorMap 18:

CIVIDIS

ETcVnColorMap 19:

TWILIGHT

ETcVnColorMap 20:

TWILIGHT_SHIFTED

ETcVnColorMap 21:

TURBO

ETcVnColorMap 22:

Related functions