How do I get axis information/attributes from netcdf file for plotting in matlab?
2 次查看(过去 30 天)
显示 更早的评论
Hello,
I have a netcdf file that contains extra information about the axis, such as the real depth values compared with the index numbers. How can I get Matlab to plot this? rather than just manually typing in the tick mark labels? when I use FERRET and NCL it is done automatically.
Also, is there a way or writing in code the location and labels of tickmarks instead of doing it interactively? for example, using set(gca... or something.
thanks, Michael
0 个评论
回答(1 个)
Star Strider
2014-6-16
Changing numbers near X-axis when plotting is an example of the sort of thing you want to do.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 NetCDF 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!