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

조회 수: 37 (최근 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 CenterFile Exchange에서 Geographic Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by