|
From: | Ben Abbott |
Subject: | Re: repositioning of gnuplot figures (was: new subplot bug) |
Date: | Fri, 20 Feb 2009 11:41:04 -0500 |
On Feb 18, 2009, at 6:34 PM, John W. Eaton wrote:
On 18-Feb-2009, Ben Abbott wrote: | It occurs to me that the problem is likely related to the figure's | current axes. | | Is there a way to restrict a specific axes from qualifying as the | current axes? (I suspect the hidden axes used by gnuplot_drawnow to| hold the figures prior position property is the probem ... although I| have no idea how it becomes visible). | | If not, then a different solution for storing the prior figure | position will be needed. | | I'll propose an approach either later this evening or tomorrow. | However, I'd prefer to find out how a hidden axes becomes visible | before committing a solution that hides that feature/bug. I didn't realize that there are hidden axes used for keeping track of prior position info, so I'm afraid I can't be of much help here. jwe
John/others,Regarding keeping track of changes in a figures "position" property, I'd like to propose a solution. (1) create a new function that stores property info which can be later referenced by the object's handle, (2) have gnuplot_drawnow compare the current figure's position property with the prior one and reposition the figure if the property has changed.
I've attached a changeset for comment/discussion.If this proposal is acceptable, should such a function be made private to the functions in scripts/plot ?
Ben
changeset-figure_reposition.patch
Description: Binary data
[Prev in Thread] | Current Thread | [Next in Thread] |