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:
get data variable in different figure

Subject: get data variable in different figure

From: Dwiyoga kilua

Date: 14 Jun, 2013 13:25:09

Message: 1 of 3

I have 4 figures, in figure 1 there is a data variable a= "IM9", in figure 2 there is a data variable b = "5000", in figure 3 there is a data variable c = "08575573456",
how to do the three data / variable a , b, c can be taken / load to figure 4???

Subject: get data variable in different figure

From: Yehonatan Peleg

Date: 15 Jun, 2013 01:59:08

Message: 2 of 3

Didn't quite understand you.....

Subject: get data variable in different figure

From: dpb

Date: 15 Jun, 2013 02:22:21

Message: 3 of 3

On 6/14/2013 8:25 AM, Dwiyoga kilua wrote:
> I have 4 figures, in figure 1 there is a data variable a= "IM9", in
> figure 2 there is a data variable b = "5000", in figure 3 there is a
> data variable c = "08575573456", how to do the three data / variable a ,
> b, c can be taken / load to figure 4???

How did they each get into their respective figures? Maybe you've
already got them to have done that?

Otherwise, you can use the get() command for xdata,ydata in the three
figures on the respective axis handle to retrieve the data thereon.

Or, you could use ginput and let user select point(s)...

A little more detail on the actual situation would likely help...

--

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