フィルターのクリア

How do I get axis information/attributes from netcdf file for plotting in matlab?

2 ビュー (過去 30 日間)
Michael
Michael 2014 年 6 月 14 日
コメント済み: Michael 2014 年 6 月 17 日
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

回答 (1 件)

Star Strider
Star Strider 2014 年 6 月 16 日
Changing numbers near X-axis when plotting is an example of the sort of thing you want to do.
  1 件のコメント
Michael
Michael 2014 年 6 月 17 日
thanks, this will help me with other plotting. However, in this case it is not helpful as I wish to use the values already contained in the netcdf file rather than modify the tick values matlab has automatically given me.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeNetCDF についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by