LabKit MATLAB Workbench

reference

FrameworkApp SDK API

labkit.app.interaction.pairedAnchors

Declare matching editable points across plot axes.

Syntax

spec = labkit.app.interaction.pairedAnchors(id,onChanged,Name=Value)

Description

Creates the semantic declaration for corresponding editable points across two or more axes while the runtime owns their native editors.

Inputs

id
Unique MATLAB identifier.
onChanged
Callback state = callback(state,pointSets,context).

Options

Axes
Two or more axis IDs within the owning plotArea. Required.
Style
Scalar visual-option struct. Default: struct().
Instruction
Scalar guidance text. Default: "".
ViewportPolicy
"preserve" or "fit". Default: "preserve".

Outputs

spec
Immutable interaction declaration.

Errors

Throws labkit:app:contract:* for invalid values.

Typical Call

spec = labkit.app.interaction.pairedAnchors("matches",@changeMatches);

Source

This page is generated from the MATLAB help text in +labkit/+app/+interaction/pairedAnchors.m.