In my GUI I'm plotting a fairly large amount of data in an axes, and then plotting a horizontal line overtop that the user can control the vertical position of. Is there a way I can have the first plotted graph (the large amount of data) always be behind the line im plotting overtop, and have the user be able to dynamically move the line up and down the axes without having to re-plot both graphs every time the user wants to move the horizontal line?(adsbygoogle = window.adsbygoogle || []).push({});

For clarity, heres a picture

http://img229.imageshack.us/my.php?image=exampleya8.jpg

Again, I want the user to be able to dynamically move the line up and down without altering the blue signal (because it takes a while to re-plot the blue signal). Suggestions?

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

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

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

# Matlab Plotting problem

Loading...

Similar Threads for Matlab Plotting problem |
---|

MATLAB Plotting Coordinate Transformations in Matlab |

MATLAB Plotting animations (time-evolution) |

MATLAB Does anyone had this plotting problem with MATLAB? |

MATLAB Matlab's plot command |

MATLAB Matlab -- how to make a smooth contour plot? |

**Physics Forums | Science Articles, Homework Help, Discussion**