matlab setm,Set properties of map axes and graphics objects

setm

Set properties of map axes and graphics objects

Syntax

setm(h,MapAxesPropertyName,PropertyValue,...)

setm(texthndl,'MapPosition',position)

setm(surfhndl,'Graticule',lat,lon,alt)

setm(surfhndl,'MeshGrat',npts,alt)

Description

setm(h,MapAxesPropertyName,PropertyValue,...), where

h is a valid map axes handle, sets the map axes properties

specified in the input list. The map axes properties must be recognized by

axesm.

setm(texthndl,'MapPosition',position) alters

the position of the projected text object specified by its handle

to the [latitude longitude] or the [latitude

longitude altitude] specified by the position vector.

setm(surfhndl,'Graticule',lat,lon,alt) alters

the graticule of the projected surface object specified by its handle.

The graticule is specified by the latitude and longitude matrices,

specifying locations of the graticule vertices. The altitude can be

specified by a scalar, or by a matrix providing a value for each vertex.

setm(surfhndl,'MeshGrat',npts,alt) alters

the mesh graticule of projected surface objects displayed using the meshm function.

In this case, the two-element vector npts specifies

the graticule size in the manner described under meshm.

The altitude can be a scalar or a matrix with a size corresponding

to npts.

Examples

Display a map axes and alter it:

axesm('bonne','Frame','on','Grid','on')

The standard Bonne projection has a standard parallel at 30ºN.

27c1df33e3425d88baee0a465bfa5685.png

Setting this standard parallel to 0º results in a Sinusoidal

projection:

setm(gca,'MapParallels',0)

e59104023873f9a9c4fb3a9db7a4da02.png

See Also

Introduced before R2006a

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值