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

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

[Octave-bug-tracker] [bug #39650] changing fig position shrinks FLTK axe


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #39650] changing fig position shrinks FLTK axes
Date: Fri, 02 Aug 2013 13:06:35 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?39650>

                 Summary: changing fig position shrinks FLTK axes
                 Project: GNU Octave
            Submitted by: bpabbott
            Submitted on: Fri 02 Aug 2013 09:06:34 AM EDT
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: Ben Abbott
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:


 plot (rand (3))
pos = get (gcf (), 'position');
set (gcf (), 'position', [pos(1:2), 1.5*pos(3:4)])


Figure looks reasonable.  However, the menubar height is taller, and should
remain a fixed height (to maintain esthetics).

Returning the figure to its original position shrinks the axes.


set (gcf (), 'position', pos)
get (gca (), 'position')
ans =   0.13000   0.48787   0.41750   0.43713


I've attached the figure which results.

Enlarging the figure a second time fixed the axes position.


set (gcf (), 'position', [pos(1:2), 1.5*pos(3:4)])
get (gca (), 'position')
ans =   0.13000   0.11000   0.77500   0.81500


I haven't had the time to isolate the problem, but my guess is that either (1)
a dormant old bug has been awakened by recent changes to __init_flltk__.cc, or
(2) the recent changes broke some implicit interdependence.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 02 Aug 2013 09:06:34 AM EDT  Name: shrunk-axes.png  Size: 45kB   By:
bpabbott

<http://savannah.gnu.org/bugs/download.php?file_id=28742>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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