Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
How to get data from *.fig file

Subject: How to get data from *.fig file

From: Dave Poreh

Date: 9 May, 2012 08:34:52

Message: 1 of 2

Folks
Hi,
I have some *.fig files and i have lost the data. how could i get the data that i have plotted form my *.fig files please?
Cheers,
Dave

Subject: How to get data from *.fig file

From: Barry Williams

Date: 9 May, 2012 11:19:07

Message: 2 of 2

dave poreh <d.poreh@gmail.com> wrote in message <2294152.3854.1336552492589.JavaMail.geo-discussion-forums@ynlq12>...
> Folks
> Hi,
> I have some *.fig files and i have lost the data. how could i get the data that i have plotted form my *.fig files please?
> Cheers,
> Dave

For example:

h=findall(gcf,'type','line');
x=get(h,'xdata');
y=get(h,'ydata');

Barry

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us