23.11.2012 Views

Mapping

Mapping

Mapping

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Topography/Bathymetry options<br />

M_Map can access a 1-degree resolution global elevation database (actually,<br />

this database is is included in the Matlab distribution, used by of<br />

$MATLAB/toolbox/matlab/demos/earthmap.m).<br />

A contour map of elevations at default levels can be drawn using<br />

m_elev;<br />

Different levels can also be specified:<br />

m_elev('contour',LEVELS, optional contour arguments);<br />

For example, if you want all the contours to be dark blue, use:<br />

m_elev('contour',LEVELS,'edgecolor','b');<br />

Filled contours are also possible:<br />

m_elev('contourf',LEVELS, optional contourf arguments);<br />

Finally, if you want to simply extract the elevation data for your own purposes,<br />

[Z,LONG,LAT]=m_elev([LONG_MIN LONG_MAX LAT_MIN LAT_MAX]);<br />

returns rectangular matrices for depths Z at locations LONG,LAT.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!