How to read an plot with coordinates a .tiff file?
22 views (last 30 days)
Show older comments
Philippe Corner
on 20 Jan 2020
Answered: Walter Roberson
on 4 Feb 2020
I'm currently using this code:
[X,map]= imread('Z1.tiff');
image(X);
colormap(map);
This is the file im trying to read: http://www.mediafire.com/view/dzifgp0s3ima3z2/Z1.tiff/file
And this is the plot im trying to obtain:
Any idea why my code is not working?
2 Comments
Accepted Answer
Walter Roberson
on 4 Feb 2020
[X, R] = geotiffread('Z1.tiff');
mapshow(X(:,:,1:3), R)
%touch up the labeling
ax = gca;
ax.XAxis.Exponent = 0;
ax.YAxis.Exponent = 0;
0 Comments
More Answers (0)
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!