How do I hold the current plot but not the axis properties?
1 view (last 30 days)
I'm creating a GUI that can plot multiple functions on the same plot, depending on which data-set I choose. If I use hold on, the axis on the plot doesn't change and the next data-set might not be completely displayed. I want to keep the current data on the plot but have another data-set plotted and have the axis scale so that both sets can be seen.
Matthew on 9 Jul 2015
Check to make sure that your axes XLimMode and YLimMode is set to auto.
seems to work fine, so your issue may not really be with the hold command.