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

38 visualizaciones (últimos 30 días)
Philippe Corner
Philippe Corner el 20 de En. de 2020
Respondida: Walter Roberson el 4 de Feb. de 2020
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?
  2 comentarios
KSSV
KSSV el 20 de En. de 2020
Why you think your code is not working?
Philippe Corner
Philippe Corner el 4 de Feb. de 2020
Thats what im trying to ask

Iniciar sesión para comentar.

Respuesta aceptada

Walter Roberson
Walter Roberson el 4 de Feb. de 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;

Más respuestas (0)

Categorías

Más información sobre Geographic Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by