Problems with showing geographic data in axes [geoshow, axesm]

1 次查看(过去 30 天)
Hello,
I am reading a ENVI image, i have no problem in reading the data and plotting the image.
Also, i have all this data from the image, and also know the size of it.
projection: 'UTM'
image_coords: [1 1]
mapx: 54220
mapy: 46200
dx: 20
dy: 20
utm_zone: '30 N'
zone: 30
hemi: 'North'
datum: 'World Geodetic System 1984'
units: 'Meters'
I generate all the values for each pixel of position in utm. I can aso change it to degrees or dms.
The problem i am having, is when trying to show all this values in the axes of the image. I generate the image with imagesc, where xt and yt is my full data of coordinates.
imagesc(image);
set(gca,'xticklabel',xt);
set(gca,'yticklabel',yt);
But it only shows to me the last 11 data.
__
Also, i was trying to make use of axesm function, but i wasn't able to make it work, or with geoshow, it seems like all this options are only avaible if you are using geoTIFF images but not external data.

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by