[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: plot and image demos (growing window)
From: |
John W. Eaton |
Subject: |
Re: plot and image demos (growing window) |
Date: |
Thu, 28 May 2009 17:25:53 -0400 |
On 28-May-2009, Ben Abbott wrote:
| This looks like a feature of gnuplot. When a subsequent "set term
| x11 ..." command is encountered before the prior plot-stream completes
| there appears to be some unintended interaction between gnuplot and
| x11 which causes the window to grow.
|
| For example, try ...
|
| for n=1:100; plot(1:1000); drawnow; end
|
| Adding the command "unset mouse" the the beginning of the plot-stream
| eliminates the problem. Shall a "unset mouse" be added to be beginning
| of each plot-stream? (changeset attached) ... If desired a "set mouse"
| may added at the end of the plot-stream. Unfortunately, I don't know
| of a good way to detect the state of "set/unset mouse". We could
| obtain the x11 window ID and ask x11 for the window size while
| toggling the mouse state, but is it worth the hassle?
No, I don't think it is worth it.
Even unset mouse/set mouse might not be worth it. Is there an easy
way to demonstrate this bug with a simple gnuplot script? If so, then
I'd say report it as a bug in gnuplot and we should not bother to work
around it in Octave.
jwe
- plot and image demos, John W. Eaton, 2009/05/27
- Re: plot and image demos, Ben Abbott, 2009/05/27
- Re: plot and image demos (growing window), Ben Abbott, 2009/05/28
- Re: plot and image demos (growing window),
John W. Eaton <=
- Re: plot and image demos (growing window), Ben Abbott, 2009/05/28
- Re: plot and image demos (growing window), Jaroslav Hajek, 2009/05/29
- Re: plot and image demos (growing window), Ben Abbott, 2009/05/29
- Re: plot and image demos (growing window), Daniel J Sebald, 2009/05/29
- Message not available
- Re: plot and image demos (growing window), Daniel J Sebald, 2009/05/29
- Re: plot and image demos (growing window), Ben Abbott, 2009/05/29
- Re: plot and image demos (growing window), John W. Eaton, 2009/05/29
- Re: plot and image demos (growing window), Ben Abbott, 2009/05/29
- Re: plot and image demos (growing window), Daniel J Sebald, 2009/05/29
- Re: plot and image demos (growing window), Ben Abbott, 2009/05/29