필터 지우기
필터 지우기

How to export data used to make MATLAB figure?

조회 수: 1 (최근 30일)
Sophie Astrof
Sophie Astrof 2023년 1월 18일
답변: prasanth s 2023년 1월 19일
Hello, I have a matlab figre with tabs. How do I extract data from each tab and import into excel? Thank you.
  댓글 수: 2
dpb
dpb 2023년 1월 18일
Why don't you save the data when creating the figure instead?
Sophie Astrof
Sophie Astrof 2023년 1월 18일
I am running a application. It analyzes an image and then plots the data, but I don't know where the data that is being ploted stored.

댓글을 달려면 로그인하십시오.

답변 (1개)

prasanth s
prasanth s 2023년 1월 19일
fig=openfig('SophiesFigure_nanodomains.fig');
data1=fig.Parent.Children(2).CurrentAxes.Children.YData %histogram
xdata=ww.CurrentObject.Parent.Children(1).Children(2).Children(2).XData; %scatter
ydata=ww.CurrentObject.Parent.Children(1).Children(2).Children(2).YData; %scatter

카테고리

Help CenterFile Exchange에서 Histograms에 대해 자세히 알아보기

태그

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by