plot matrix of grid data with lat and lon
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Shakir Hussain
el 11 de Oct. de 2018
Editada: Shakir Hussain
el 12 de Oct. de 2018
We can plot the grid with lat long by different ways e.g map/geoshow, contour, image e.t.c but how we can make matrix of such plot.
I have 860*952*14 data and want to make matrix plot via mapshow, could anyone here help me? The attached map may give some relevant idea Thank you in advance
0 comentarios
Respuesta aceptada
KSSV
el 11 de Oct. de 2018
Let lon and lat be your spatial data. Let A be your 860*952*14 matrix.
for i = 1:14
pcolor(lon,lat,A(:,:,i)') ;
shading interp ; colorbar
drawnow
end
If you have shape files of the boundaries, you can plot them too.
2 comentarios
Shakir Hussain
el 12 de Oct. de 2018
Editada: Shakir Hussain
el 12 de Oct. de 2018
KSSV
el 12 de Oct. de 2018
make matrix plot rather than overlapping plot. The above code makes matrix plot only.
how we can add shapfiles of outer and inner boundaries If you have shape files, read them using shaperead and plot.
could we also apply some sattistics e.g mean, difference e.t.c Very much you can apply.
Más respuestas (0)
Ver también
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!