octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #35430] fltk figure units = "normalized" shrin


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #35430] fltk figure units = "normalized" shrinks plot to 1 pixel
Date: Thu, 02 Feb 2012 19:26:43 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.77 Safari/535.7

Follow-up Comment #2, bug #35430 (project octave):

Another observation. Running the *script* below produces the correct output to
the console


close all
graphics_toolkit fltk
figure
set (gcf, 'units', 'normalized')
get (gcf, 'position')


The output is 


ans =

   0.17798   0.19358   0.33333   0.40856


If a drawnow() is inserted before the get() command, then the incorrect result
is returned.


close all
graphics_toolkit fltk
figure
set (gcf, 'units', 'normalized')
drawnow ()
get (gcf, 'position')


The incorrect output is 


ans =

    0   44    1    0



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35430>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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