fcrosssection

Displays topology along a cross section

Contents

Syntax

fcrosssection(topologicalBase)

fcrosssection(..., ' PropertyName ', 'PropertyValue',...)

fitZ = fcrosssection(...)

[fitR, fitZ] = fcrosssection(...)

[fitR, fitZ, dataR, dataZ] = fcrosssection(...)

Description

fcrosssection(topologicalBase) computes the crosssection along a user defined line.

fcrosssection(..., ' PropertyName ', 'PropertyValue',...) manipulates plotting characteristic by setting the fcrosssection-properties. Enter properties as one or more name-value pairs.

Options

This section provides a description of properties. Curly braces { } enclose default values

ROI
{[0,0,image width, image height]}
Use ROI if clipping was used by fanalyze.
Image
An RGB image may be provided as texture for the surface plotted.
Line
{}
If unspecified a GUI is opened to draw the line by hand For GUI help, see getline. Otherwise Line must be a 2x2 matrix [X1 , Y1 ; X2, Y2]
plot
{fit+data} | data | fit | nice
Specifies plot style (see below)
Parent
If given, fcrosssection plots the topology in the axes with given handle rather than the current axes.

Plot style

fcrosssection provides multiple plot styles:

The plot's r axis is selected by the crossection while on the z axis the data will be shown.

Output

The fcrosssection function has four different output modes that can be used no matter what value plot is set to:

Examples

Basic example:

fcrosssection(detail);

An advanced example

fcrosssection(detail, 'ROI', roi, 'Line', line, 'Image', J, 'plot', 'nice');