Geoscience Reference
In-Depth Information
We need to reduce the limits by a factor of 120, in order to obtain a matrix
of similar dimensions to the GTOPO30 matrix. A grayscale image can be
generated from the elevation data using the function surf . h e fourth power
of the colormap gray is l ipped vertically in order to obtain dark colors for
high elevations and light colors for low elevations.
surf(LON,LAT,GTOPO30)
shading interp
colormap(flipud(gray.^4))
axis equal, view(0,90)
colorbar
h is script opens a new i gure window and generates the gray surface using
interpolated shading, displayed in an overhead view (Fig. 7.3).
Interactive
7.2
Fig. 7.3 Display from the GTOPO30 elevation data set. h e map uses the function surf to
generate a gray surface. h e fourth power of the colormap gray is used to intensify the gray
shades of the map at higher elevations and the colormap is then l ipped vertically in order to
obtain dark colors for high elevations andlight colors for low elevations (data from the U.S.
Geological Survey).
Search WWH ::




Custom Search