Main Content

undotrim

Remove object trims introduced by trimdata

Syntax

[ymat,xmat] = undotrim(ymat,xmat,trimpts,object)

Description

[ymat,xmat] = undotrim(ymat,xmat,trimpts,object) removes the object trims introduced by trimdata. This function is necessary to properly invert projected data from the Cartesian space to the original latitude and longitude data points.

The input variable, trimpts, must be constructed by the function trimdata.

Allowable objects are

  • 'surface' for trimming graticules

  • 'light' for trimming lights

  • 'line' for trimming lines

  • 'patch' for trimming patches

  • 'text' for trimming text object location points

  • 'none' to skip all trimming operations

Version History

Introduced before R2006a