limits of latitude - longitude
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I had a netCDF file comprising of SST data . I plotted a graph using pcolor but now i have to plot same data for a shorter location, i have latitude longitude limits but dont know how to make plot for that specific lat lon limits . Pls help , I am attaching my initial plot
Réponses (2)
Yang Liu
le 7 Juin 2022
Modifié(e) : Yang Liu
le 7 Juin 2022
% if you just want to show data in specific extent, set the axis limit as follows after ploting all data
ylim([-80 -50])
% if you want to plot data in specific extent, change your pcolor line as follows
sub = longg > -80 & longg < -50;
pcolor(longg(sub),latg(sub),sst_march(sub));
0 commentaires
Voir également
Catégories
En savoir plus sur NetCDF dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!