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 01:44:40 +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 #1, bug #35430 (project octave):

More info. First with gnuplot


graphics_toolkit gnuplot
figure
pixels = get (gcf, "position")
pixels =

   300   200   560   420

set (gcf, "units", "normalized")
normalized = get (gcf, "position")
normalized =

   0.17798   0.19358   0.33333   0.40856


Now with fltk


graphics_toolkit fltk
figure
pixels = get (gcf, "position")
pixels =

   1014     44    560    420

set (gcf, "units", "normalized")
normalized = get (gcf, "position")
normalized =

    0   44    1    0


 Gnuplot and fltk behave differently.

I hadn't realized that this part of the code was backend specific.


    _______________________________________________________

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]