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 vue (au cours des 30 derniers jours)
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?

Réponses (1)

Matt J
Matt J le 27 Mai 2020
Modifié(e) : Matt J le 27 Mai 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.
  2 commentaires
Ralf Heilmann
Ralf Heilmann le 28 Mai 2020
Not invoking figure() results in plotting to a new figure. But how do I plot to the same figure that I produced before invoking fminsearch?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Two y-axis dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by