How to read an plot with coordinates a .tiff file?

38 visualizzazioni (ultimi 30 giorni)
I'm currently using this code:
[X,map]= imread('Z1.tiff');
image(X);
colormap(map);
And this is the plot im trying to obtain:
Screen Shot 2020-01-19 at 7.55.09 PM.png
Any idea why my code is not working?

Risposta accettata

Walter Roberson
Walter Roberson il 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;

Più risposte (0)

Categorie

Scopri di più su Geographic Plots in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by