How to plot values of respective longitude and latitude coordinates with M_maps package?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Jonathan Gundorph Jansen
am 29 Apr. 2018
Bearbeitet: Jonathan Gundorph Jansen
am 29 Apr. 2018
Hello everybody,
I am currently trying to plot some simple values onto their respective lon/lat coordinates, for a global (hammer aitoff) projection. So far I've been using M_scatter, but I run into some problems when going too much north / south, because the lon/lat values get too close to each other due to the curvature of the Earth, and the "bubbles" of the scatterplot begin overlapping.
I am working with 3 vectors, the first 2 are latitude and longitude vectors (data(:,1) & data(:,2)) of size 64800 (180x360 coordinates) each, and the third vector is the vector containing the data values data(:,3), also of size 64800. So, so far I've been trying to plot it like this:
m_scatter(data(:,1),data(:,2),100,data(:,3))
and then some m_grid, etc. on top of it.
Is there a way to plot these values, with this projection, without facing this problem and being dependant on the bubblesize of the scatter plot? I tried looking at m_pcolor with an interpolation, but this is wrong because I will end up oversampling my signal.
Sincerely, Jonathan Gundorph
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Map Display finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!