Using fminsearch I want to plot the model function whose parameters I'm fitting at each iteration without the figure window stealing focus. How do I do this?

1 visualizzazione (ultimi 30 giorni)
Using fminsearch I want to plot the model function whose parameters I'm fitting at each iteration without the figure window stealing focus. How do I do this?

Risposte (1)

Matt J
Matt J il 27 Mag 2020
Modificato: Matt J il 27 Mag 2020
Stop invoking whatever command it is (figure(), axes() ?) that you are using to bring the figure into focus. Calling the plot command alone would not be responsible for whatever it is you are seeing. It will not shift focus to the figure.

Categorie

Scopri di più su Two y-axis in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by