This example shows how to generate a shaded relief map using a raster data set, also known as a data grid. Note that the content, symbolization, and the projection of the map are completely independent. The structure and content of the
topo60c data grid are the same no matter how you display it, although how it is projected and symbolized can affect its interpretation.
Load elevation raster data and a geographic cells reference object.
Create a map axes object using a sinusoidal projection. Display the data using a shaded relief map. One way to do this is to use
geoshow and apply a colormap appropriate for elevation data using
axesm sinusoid geoshow(topo60c,topo60cR,'DisplayType','texturemap') demcmap(topo60c)
Create a new map axes object using a Hammer projection. Then, display the elevation data as a lighted shaded relief map using
meshlsrm. By default, the
meshlsrm function applies a colormap appropriate for elevation data and illuminates the map from the east.
figure axesm hammer meshlsrm(topo60c,topo60cR)