Labtalk Color() function supports more special mapping options


Version: 2021b

Type: Features

Category: Programming

Subcategory: Labtalk

Jira: ORG-23097


Syntax

color(y,p) //Y Value: Plus - Minus //Positive Negative Bars (Anomaly Plot)
color(y,t) //Y Value: Plus - Minus - Total //Bridge Chart
color(y,m) //Y Value: Color Mapping
color(z,m) //Z Value: Color Mapping //mainly z colormap waterfall
color(z,n)
color(z,r)
color(d,m) //Density Color Mapping //mainly for scatter plot

Usage

layer.plot1.color = color(y,p);

LabTalk Modifier(nIndex) function to get worksheet column modifier


Version: 2021b

Type: Features

Category: Programming

Subcategory: Labtalk

Jira: ORG-23097


Usage

layer.plot1.color = Modifier(1); //set the plot color to be indexing using the 1st column to the right of plotted data
layer.plot1.symbol.interior = Modifier(-1); //set the index shape using the 1st column to the left of plotted data