[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: units updater for figures is broken when using fltk
From: |
Ben Abbott |
Subject: |
Re: units updater for figures is broken when using fltk |
Date: |
Sat, 04 Feb 2012 16:32:54 -0500 |
On Feb 4, 2012, at 2:46 PM, Ben Abbott wrote:
> Running the script below ...
>
> close all
> graphics_toolkit fltk
> figure
> position = get (gcf, "position")
> set (gcf, "units", "normalized")
> position_pre_drawnow = get (gcf, "position")
> drawnow
> position_post_drawnow = get (gcf, "position")
>
> ... produces the result ...
>
> position =
>
> 300 200 560 420
>
> position_pre_drawnow =
>
> 0.17798 0.19358 0.33333 0.40856
>
> position_post_drawnow =
>
> 0 44 1 0
>
> I have no idea what is happing here, and my debugging skills for c++ are
> embarrassingly poor. Does anyone have any insight ?
>
> There's a bug report. Link below.
>
> https://savannah.gnu.org/bugs/index.php?35430
>
> Ben
I gave up on myself a bit too early.
I've attached a changeset that fixes the problem for me.
Ben
changeset.patch
Description: Binary data
- sombrero doesn't show (fltk), Muhali, 2012/02/01
- Re: sombrero doesn't show (fltk), Ben Abbott, 2012/02/01
- units updater for figures is broken when using fltk, Ben Abbott, 2012/02/04
- Re: units updater for figures is broken when using fltk,
Ben Abbott <=
- Re: units updater for figures is broken when using fltk, Michael Goffioul, 2012/02/04
- Re: units updater for figures is broken when using fltk, Ben Abbott, 2012/02/04
- Re: units updater for figures is broken when using fltk, Michael Goffioul, 2012/02/04
- Re: units updater for figures is broken when using fltk, Ben Abbott, 2012/02/04
- Re: units updater for figures is broken when using fltk, Michael Goffioul, 2012/02/05
- Re: units updater for figures is broken when using fltk, Ben Abbott, 2012/02/05
- Re: units updater for figures is broken when using fltk, Michael Goffioul, 2012/02/07
- Re: units updater for figures is broken when using fltk, Ben Abbott, 2012/02/07
- Re: units updater for figures is broken when using fltk, Ben Abbott, 2012/02/07
- Re: units updater for figures is broken when using fltk, Ben Abbott, 2012/02/10