does the hold feature work in mlapp axes?

8 views (last 30 days)
I'm trying to create a GUI that displays an analog signal and several other events on the same axes in a mlapp figure. I've been trying to use the hold on command, which works with all the other graphs, as well as in GUIDE. All I get when I run my GUI is the last line to be plotted, which also changes with user input from slider. The slider callback is supposed to re-plot everything, but it isn't working and I've been unable to find anything in the documentation or forums. Using R2017b
Thanks!

Accepted Answer

Matt J
Matt J on 8 Feb 2018
Should work, but make sure you specify which axis to hold, e.g.,
hold(axHandle,'on')

More Answers (0)

Categories

Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!