octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnuplot terminal size & position


From: bpabbott
Subject: Re: gnuplot terminal size & position
Date: Tue, 15 Feb 2011 17:49:14 +0000 (GMT)

On Feb 15, 2011, at 12:26 PM, Benjamin Lindner <address@hidden> wrote:

Hello,

I am trying to implement the "size" and "position" options for the
windows terminal, which gnuplot 4.4.2 supports.
I discovered, that setting the figures size&position with
set(gcf,"position", [200,200,400,300])
does not result in the plotting window changing its size & position,
which is due to the fact, that the respective size_str is not applied
for already open plotting windows.
It requires the following change to work

@@ -272,7 +278,7 @@
term_str = sprintf ("%s %s", term_str, title_str);
endif
if (isempty (strfind (term, "corel")))
- if (! isempty (size_str) && new_stream)
+ if (! isempty (size_str) )
## size_str comes after other options to permit specification of
## the canvas size for terminals cdr/corel.
term_str = sprintf ("%s %s", term_str, size_str);

and I wanted to ask, what was the reason for only using the size
string for new plotting windows, and not for already open ones?

benjamin
 
I had tried to resize the windows for x11, wxt, and aqua. Unfortunately, changing the position/size means the existing (x11, wxt, aqua) window will be closed and a new one opened. This results in (1) a "flickering" when animations are run, (2) the window repositioning itself after being moved by the mouse. The consensus at that time was flickering/repositioning was less desirable than not being able to change he window position/size.

Can a patch be made that only effects the windows terminal? ... also have you looked at any of the animations to see if the window flickers? (comet, or comet3?) If the window size is modified by the mouse, does it self correct when updated?

Ben


reply via email to

[Prev in Thread] Current Thread [Next in Thread]