On Wednesday, May 23, 2012, Gökhan Sever wrote:

On Wed, May 23, 2012 at 8:32 AM, Chao YUE <chaoyuejoy@gmail.com> wrote:
Dear all,

I have two different monitors. How can I use plot command within terminal in this monitor and set the figure to show defaultly in another one?

thanks,

Chao

Hello,


With few extra commands you can get your figures appearing on your second monitor. However, SetPosition behavior is somewhat unpredictable. When I pass a large x value it tendsmove the figure to my second monitor. What would be nice is to mpl to remember the last window position and size --say for instance for particular plots I always want to view figures in maximized window and placed on the second monitor. 

 

This is more an issue with how the GUI toolkit interacts with the desktop manager. I think there are some existing PRs (or at least wishlist items) for supplying additional data down to the figure object. The person who did that feature was then going to set a windowing rule of some sort for his window manager to handle mpl figures specially.

As far as I know, the feature never got added. Maybe someone else could resurrect that work?

Cheers!
Ben Root