imline function in GUI
Mostra commenti meno recenti
Hi,
I have a GUI application which includes two figures to display the experiment data. One figure is the amplitude, and another one is the phase. Both figures have the same x-axis (distance), but different y-axis. In both figures, some data points are bad, and I want to remove those points from the figures. I plan to draw one vertical line at the shorter distance and another vertical line at the longer distance in any figure, and then display the data points in between these two lines.
I searched matlab command, and imline seems a good candidate. My question is how to link the lines in both figure? Can I move the selected line in one figure, and the corresponding line also move in another figure?
Thank you!
Risposte (1)
Jan
il 1 Ago 2013
0 voti
You could use plotyy to draw both lines in one diagram. Then you do not care about linking the properties.
Categorie
Scopri di più su Environment and Settings in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!