Extracting X axis and Y axis data from spectrogram figure
2 ビュー (過去 30 日間)
古いコメントを表示
How to get the x axis and y axis data from the spectrogram figure or plot. The code that I use ,
b=openfig('spec.fig');
h = findobj(gca,'Type','line')
x=get(h,'Xdata');
y=get(h,'Ydata');
.I need time and frequency data from X axis and Y axis but I get empty values in both x and y. Kindly suggest a solution for this. Thanks...
0 件のコメント
回答 (1 件)
Rohit Kumar
2019 年 4 月 1 日
編集済み: Rohit Kumar
2019 年 4 月 1 日
Spectrogram doesn't give you "Plot Lines" on axes. What you get is an "Image".
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Surface and Mesh Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!