Extract data from line plots in a MATLAB Figure

This function will extract data from the given axes of the Matlab figure.
ダウンロード: 11
更新 2023/9/23

ライセンスの表示

This function used to extract (x,y) data from the matlab figure.
It will work with multiple lines also.
syntax
x = -pi:pi/25:pi;
y = sin(x);
plot(x,y,'-k'); hold on
[x,y] = myfigextract(gca);
indices = round(linspace(1,length(x{1}),10));
plot(x{1},y{1},'ro','markerindices',indices);hold off

引用

Jagadeesh Korukonda (2026). Extract data from line plots in a MATLAB Figure (https://jp.mathworks.com/matlabcentral/fileexchange/135817-extract-data-from-line-plots-in-a-matlab-figure), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R2022b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
タグ タグを追加
バージョン 公開済み リリース ノート
1.0.0