This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.


Trim map data exceeding projection limits


[ymat,xmat,trimpts] = trimdata(ymat,ylim,xmat,xlim,'object')


[ymat,xmat,trimpts] = trimdata(ymat,ylim,xmat,xlim,'object') identifies points in map data that exceed projection limits. The projection limits are defined by the lower and upper inputs. The particular object to be trimmed is identified by the 'object' input.

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

Introduced before R2006a

Was this topic helpful?