|
From: Ethan M. <merritt@u.washington.edu> - 2009-02-13 18:24:18
|
On Friday 13 February 2009 04:40:00 Ben Abbott wrote: > At this point, I'd like to respectfully ask if gnuplot is able to > supply the support needed to allow octave to (1) specify the initial > window position and size for x11 as well as other terminals (done for > some already), and (2) determine the position and size after mouse > movements (I think the next item of repositioning and resizing gnuplot > windows should be tabled for now). I think the answer is no, it is not possible at present. We seem to be in the exploratory stages of determining whether it might be possible to do this in the future. > Regarding x11 and (2), we would desire that the vertical extension > present when displaying mouse coordinates go away. You had mentioned > that might be possible. Can/should this be done? That should be straightforward. I will add it to the TODO list. > Regarding wxt, Qt (others?), do you know if it is possible to > determine their canvas sizes as well? I expect that it is possible, but that doesn't mean I know how to do it. But it is definitely not possible for every terminal driver. Consider "set term xlib". This is mostly for debugging, but it does work to save x11 display commands for later execution. All the plotting commands flow through the normal x11 code in gnuplot, but there is no actual display window created and hence the canvas size is entirely undefined. If you play back the commands later on using gnuplot_x11 then you see a real plot canvas with a real size. But gnuplot itself is no longer in the picture at this point. -- Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle 98195-7742 |