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 object strings 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

Was this topic helpful?