Why does mapshow TextureMap display differently to mapshow Surface?
2 views (last 30 days)
Show older comments
When I use mapshow to display a geotif file as a surface it crops & offsets the image. I need to use the 3D functionality of the 'Surface' but I want it to display the full image like a 'TextureMap'.
![mapshow(Z,Z_R,'Cdata',Z,'DisplayType','TextureMap')](https://www.mathworks.com/matlabcentral/answers/uploaded_files/392208/mapshow(Z,Z_R,'Cdata',Z,'DisplayType','TextureMap').jpeg)
![mapshow(Z,Z_R,'Cdata',Z,'DisplayType','Surface')](https://www.mathworks.com/matlabcentral/answers/uploaded_files/392213/mapshow(Z,Z_R,'Cdata',Z,'DisplayType','Surface').jpeg)
[Z,Z_R] = readgeoraster('E:\Test\test\Data\TIF\DEM.tif','OutputType','double');
figure(2);mapshow(Z,Z_R,'Cdata',Z,'DisplayType','Surface')
figure(1);mapshow(Z,Z_R,'Cdata',Z,'DisplayType','TextureMap')
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!