Generate plot in the 2nd screen?

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?

 Respuesta aceptada

Jan
Jan el 28 de Sept. de 2017

0 votos

3 comentarios

Kian Azami
Kian Azami el 28 de Sept. de 2017
Thank you very much for your beautiful link and function, however I cannot call your function and use.
Should I put the figure handle inside your function?
For example:
m1 = figure(1);
figure2(m1)
Then it will put the figure on the 2nd screen? However, I cannot use it.
Jan
Jan el 28 de Sept. de 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 el 28 de Sept. de 2017
Yes, the idea of your function is interesting. Thank you, Jan.

Iniciar sesión para comentar.

Más respuestas (1)

KSSV
KSSV el 28 de Sept. de 2017

1 voto

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.

Categorías

Más información sobre Printing and Saving en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 28 de Sept. de 2017

Comentada:

el 28 de Sept. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by