Generate plot in the 2nd screen?

18 vues (au cours des 30 derniers jours)
Kian Azami
Kian Azami le 28 Sep 2017
Commenté : Kian Azami le 28 Sep 2017
Hello, I am using matlab and I have two monitors. One monitor is the command window and the other one is the Editor. My matlab figures always generate in the first monitor. I want to generate them in the other monitor. How can I change this option?

Réponse acceptée

Jan
Jan le 28 Sep 2017
  3 commentaires
Jan
Jan le 28 Sep 2017
Call this function exactly how you would call figure:
m1 = figure2(1)
Then it is opened on the 2nd monitor. It is just an example on how the position can be adjusted. You can use the idea to insert it to your own tools.
Kian Azami
Kian Azami le 28 Sep 2017
Yes, the idea of your function is interesting. Thank you, Jan.

Connectez-vous pour commenter.

Plus de réponses (1)

KSSV
KSSV le 28 Sep 2017
Your figure is docked to the window. You need to undock it. At the top corner of the figure, there is a triangle inside a circle, click on that and click on undock.

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by