Main Content


(To be removed) Remove object trims introduced by trimdata

The undotrim function will be removed in a future release.


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


[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

collapse all

R2024a: To be removed

The undotrim function issues a warning that it will be removed in a future release.

See Also