Help plotting satellite data?

21 visualizaciones (últimos 30 días)
Davin David
Davin David el 29 de Oct. de 2021
Comentada: Davin David el 29 de Oct. de 2021
I'm plotting satellite data taken from an HDF5 file. The following are the parameters
latitude(51x2429) -> lat
longitude(51x2429) -> lon
longwave(51x2429) -> long
I'm using the following code
pcolor(lon,lat,long)
shading interp
colorbar
I get this image
This is what I want to get
I want to remove the bars

Respuesta aceptada

millercommamatt
millercommamatt el 29 de Oct. de 2021
geoshow(lat(:), lon(:), long(:),'DisplayType','ImageMap');
  7 comentarios
Walter Roberson
Walter Roberson el 29 de Oct. de 2021
Sorry, I do not know much about mapping stuff.
Davin David
Davin David el 29 de Oct. de 2021
No problem thanks for all the help.

Iniciar sesión para comentar.

Más respuestas (1)

Walter Roberson
Walter Roberson el 29 de Oct. de 2021
Your longitude data "wraps" at 360 degrees.
I speculate that the array starts at about 45 or 50 degrees, increases to 360 degrees, and wraps back to 0 degrees and continues upwards.
If geoshow() does not work for you, then you will need to circshift() your arrays to align them so that the longitude does not wrap back. Or else you need to add 360 to all longitude values after the wrap to get it to display properly.

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by