Extract data from line plots in a MATLAB Figure

버전 1.0.0 (1.13 KB) 작성자: Jagadeesh Korukonda
This function will extract data from the given axes of the Matlab figure.
다운로드 수: 7
업데이트 날짜: 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 (2024). Extract data from line plots in a MATLAB Figure (https://www.mathworks.com/matlabcentral/fileexchange/135817-extract-data-from-line-plots-in-a-matlab-figure), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2022b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0