How to plot values of respective longitude and latitude coordinates with M_maps package?
조회 수: 4 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Map Display에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!