Hold on between different callbacks app designer

3 views (last 30 days)
Hello, everybody.
I have an application with four buttons and some UIAxes, one button is programmed so I can open data from .txt files and load a matrix with data.
The second button, draws those data in the axes that I have in the application
The doubt arises with the third and fourth button, I want that in first place, when pressing the third button it looks for the minimum of the points that I had loaded previously and that I draw it in the previous axes, but without it erases me so much the properties as the graphs that I had made. In addition, the fourth button I want it to look for the one after the minimum, that is to say, that it looks for the second lowest one the first time that I press it, the third lowest one etc and that it paints these new points on the graph that I had made with the second button.
Does anyone know how to draw (make a kind of hold on) having as base what had been done with the second button?
Thank you very much for everything.

Accepted Answer

Alejandro Fernández
Alejandro Fernández on 11 Feb 2020
I found the solution and attached sample resolution.

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!