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.

3-D Map Display

Create 3-D map of elevation data; drape image over terrain data; customize shading and lighting


camposm Set camera position using geographic coordinates
camtargm Set camera target using geographic coordinates
camupm Set camera up vector using geographic coordinates
daspectm Control vertical exaggeration in map display
demcmap Colormaps appropriate to terrain elevation data
lightm Project light objects on map axes
meshlsrm 3-D lighted shaded relief of regular data grid
shaderel Construct cdata and colormap for shaded relief
surflm 3-D shaded surface with lighting on map axes
surflsrm 3-D lighted shaded relief of geolocated data grid
surfacem Project and add geolocated data grid to current map axes
zdatam Adjust z-plane of displayed map objects


Lighting a Terrain Map Constructed from a DTED File

This example shows how to add lighting to terrain maps using the lightm function.

Lighting a Global Terrain Map with lightm

This example shows how to create a global topographic map and add a local light.

Surface Relief Shading

You can make dimensional monochrome shaded-relief maps with the function surflm, which is analogous to the MATLAB® surfl function.

Colored Surface Shaded Relief

The functions meshlsrm and surflsrm display maps as shaded relief with surface coloring as well as light source shading.

Relief Mapping with Light Objects

In the exercise Lighting a Global Terrain Map with lightm, you created light objects to illuminate a Globe display.

Colormap for Terrain Data

Colors and colorscales (ordered progressions of colors) are invaluable for representing geographic variables on maps, particularly when you create terrain and thematic maps.

Combining Elevation Maps with Other Kinds of Data

Lighting effects can provide important visual cues when elevation maps are combined with other kinds of data.

Draping Data over Terrain with Different Gridding

If you want to combine elevation and attribute (color) data grids that cover the same region but are gridded differently, you must resample one matrix to be consistent with the other.

Was this topic helpful?