Waterfall plot of a time series data
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I want to create a waterfall plot of a daily temperature time series data against months of the x-axis, depth on the y-axis and years on the z-axis. My daily temperature data is in netcdf format. The data is a daily temperature data from Nov 2007 to May 2014 over 15 different levels of depth. I wish to contour the vertical temperature profile over 3 tempearature isotherms and average the dailty data to monthly mean. I wish to use the plot to see temperature anomaly (peaks and dips) over the period of years given on the y-axis.
0 commentaires
Réponses (1)
David Sanchez
le 4 Juin 2014
You can use ncread to access your data within the netcdf file. ( From MATLAB documentation )
ncdisp('example.nc','peaks');
peaksData = ncread('example.nc','peaks');
peaksDesc = ncreadatt('example.nc','peaks','description');
surf(double(peaksData));
title(peaksDesc);
Not knowing how your data is structured within the netcdf renders a better answer impossible.
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!