Main Content

fill3m

Project filled 3-D patches on axesm-based map

Syntax

h = fill3m(lat,lon,z,cdata)
h = fill3m(lat,lon,z,PropertyName,PropertyValue,...)

Description

h = fill3m(lat,lon,z,cdata) projects and displays any patch object with vertices defined by vectors lat and lon to the current axesm-based map. The scalar z indicates the altitude plane at which the patch is displayed. The input cdata defines the patch face color. The patch handle or handles, h, can be returned.

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

Examples

lat = [30 15 0 0 0 15 30 30]';
lon = [-60 -60 -60 0 60 60 60 0]';
axesm bonne; framem
view(3)
fill3m(lat,lon,2,'b')

3-D view of a filled patch plotted using a Bonne projection

Version History

Introduced before R2006a

See Also

| |