Waterfall plot of a time series data
7 views (last 30 days)
Show older comments
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 Comments
Answers (1)
David Sanchez
on 4 Jun 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 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!