This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this 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?