Mapping Toolbox    
patchm

Project patch objects onto the current map axes

Syntax

Description

This Mapping Toolbox command is very similar to the standard MATLAB patch command. Like its analog, and unlike higher level functions such as fillm and fill3m, patchm will add patch objects to the current map axes regardless of hold state. Except for XData, YData, and ZData, all line properties and styles available through patch are supported by patchm.

h = patchm(lat,lon,cdata) projects and displays patch (polygon) objects defined by their vertices given in lat and lon on the current map axes. lat and lon must be vectors. The color data, cdata, can be any color data designation supported by the standard MATLAB patch command. The object handle or handles, h, can be returned.

h = patchm(lat,lon,PropertyName,PropertyValue,...) allows any property/value pair supported by patch to be assigned to the patchm object.

h = patchm(lat,lon,z,cdata) allows the assignment of an altitude, z, to each patch object. The default altitude is z = 0.

Examples

See Also
patchesm
Project patches as separate objects
fill3m
Project 3-D patch objects onto the current map axes
fillm
Project 2-D patch objects onto the current map axes


  patchesm pcolorm