How to plot a world map using netCDF file
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I downloaded air temperature file from http://esrl.noaa.gov/psd/data/gridded/data.crutem3.html I have been trying to plot the ame data on a world map which should look like this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/158370/image.png)
The data for the plotting is from a netCDF file.
v1=get(handles.popmenu1,'string');
v1=str2num(v1);
vardata=ncread('air.mon.anom.nc','air');
set(handles.axis1,'string',num2str(vardata));
I imported data, but I am unable to figure out how to plot it in the world map. The dataset is of matrix [36 x 72 x 1973] and I am trying to plot the data monthly.The world map in figure 2 is only for reference purposes (for location of the map on the GUI).
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/158372/image.png)
Can someone help me, please?
1 Commento
P_L
il 20 Feb 2019
Hi,
did you ever figure put how to do this?
Because I am also struggling.
Many thanks P
Risposte (1)
Tamir Suliman
il 25 Nov 2016
I think these links below could help you with the information you looking for
https://www.google.com/search?q=use+image+as+background+for+plotting&oq=use+image+as+background+for+plotting&aqs=chrome..69i57.6421j0j7&sourceid=chrome&ie=UTF-8
0 Commenti
Vedere anche
Categorie
Scopri di più su NetCDF in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!