Hi,(adsbygoogle = window.adsbygoogle || []).push({});

I have this problem:

I have a main file (main.m) in which is coded a for loop (needed for some data-gathering). De data is stored in a vector.

This vector is passes to a 2nd figure (test1.m) which has an axe. Here I want to plot the data in a "real-time" mode. I do this with another for-loop.

Because MATLAB apparently doens't support Multi-threading, I want to edit main.m on this way:

Inside the for-loop I want to say something like: plot in the axe in test1.m.

I understand that this must be done with handles, but I can't figure out how to do this.

Any help?

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# MATLAB plot on an axe on a different figure

Loading...

Similar Threads - MATLAB plot different | Date |
---|---|

Matlab Plotting Coordinate Transformations in Matlab | Feb 12, 2018 |

Matlab Plotting animations (time-evolution) | Jan 17, 2018 |

Matlab How to make 2D plot of points with different colors? | Dec 13, 2016 |

Plotting with different y-axes range in Matlab | Dec 23, 2012 |

Plot graph of different color for different points? Matlab | Mar 22, 2008 |

**Physics Forums - The Fusion of Science and Community**