|
|
| File Information |
| Description |
IMSHADE will plot a matrix representing topography as a 3-component color image, with intensity proportional to the magnitude of the topographic slope of each pixel. Optionally, it can take an argument for lighting angle to use the directional slope.
The current colormap will be used, but future changes in the colormap will not alter the image, since it is now displayed as RGB derived from the colormap and shading.
Nondirectional shading usually scales well, though it is not very robust to spikes in the topographic gradient. The normalization used for directional shading does not always yield satisfactory results and may benefit from some tweaking.
Attached screenshot shows a seamount plotted with IMAGESC (no shaded relief) and with IMSHADE. |
| MATLAB release |
MATLAB 7.7 (R2008b)
|
| Zip File Content |
|
| Other Files |
imshade.m, license.txt
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (1) |
| 02 Nov 2009 |
Gary
|
|
|
| Updates |
| 03 Nov 2009 |
Add a screenshot |
| 03 Nov 2009 |
Attach corrected screenshot (previous version had incorrect latitude and longitude labels) |
|
MATLAB Central Terms of Use
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.
Contact us at files@mathworks.com