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

31 ビュー (過去 30 日間)
Philippe Corner
Philippe Corner 2020 年 1 月 20 日
回答済み: Walter Roberson 2020 年 2 月 4 日
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 件のコメント
KSSV
KSSV 2020 年 1 月 20 日
Why you think your code is not working?
Philippe Corner
Philippe Corner 2020 年 2 月 4 日
Thats what im trying to ask

サインインしてコメントする。

採用された回答

Walter Roberson
Walter Roberson 2020 年 2 月 4 日
[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 件)

カテゴリ

Help Center および File ExchangeGeographic Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by