imat_vtkplot/arrowoptions (+FEA)


Purpose

Set the options for arrow visibility.

Syntax

hplot.arrowoptions(ONOFF,'color',COLOR)
hplot.arrowoptions('on','color','red')
hplot.arrowoptions('on','color',[1 0 0])
hplot.arrowoptions('on','color','magnitude')
hplot.arrowoptions()

Description

This method sets the options for using arrows to display deformed shapes. If called with no arguments, a GUI will be presented where the arrow display options can be set.

ONOFF is a string, either 'on' or 'off'. Passing in the string 'on' will enable the arrow display, and passing in the string 'off' will turn off the arrow display.

The optional string 'color' must be followed by 'magnitude', a string representing a valid MATLAB color, or a 1x3 RGB vector in the range of [0,255]. The RGB value of the color is stored in the displaycolor.arrow field of the s structure of HPLOT. If 'magnitude' is passed, the arrows will be colored based on the magnitude of the deformation.