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

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

[Octave-bug-tracker] [bug #39697] legend doesn't change position if titl


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #39697] legend doesn't change position if title block grows
Date: Thu, 15 Aug 2013 21:34:10 +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

Follow-up Comment #9, bug #39697 (project octave):

Rik, try running tests on graphics.cc.   With the initial position updates
removed, I get the failure below.


test graphics.cc
  ***** test
 hf = figure ("visible", "off");
 graphics_toolkit (hf, "fltk");
 fpos = get (hf, "position");
 unwind_protect
   plot (rand (3))
   position = get (gca, "position");
   outerposition = get (gca, "outerposition");
   looseinset = get (gca, "looseinset");
   tightinset = get (gca, "tightinset");
   set (hf, "position", [fpos(1:2), 2*fpos(3:4)])
   set (hf, "position", fpos);
   assert (get (gca, "outerposition"), outerposition, 0.001)
   assert (get (gca, "position"), position, 0.001)
   assert (get (gca, "looseinset"), looseinset, 0.001)
   assert (get (gca, "tightinset"), tightinset, 0.001)
 unwind_protect_cleanup
   close (hf);
 end_unwind_protect
!!!!! test failed
ASSERT errors for:  assert (get (gca, "position"),position,0.001)

  Location  |  Observed  |  Expected  |  Reason
    (2)        0.93285        0.11       Abs err 0.82285 exceeds tol 0.81
    (3)         -0.035       0.775       Abs err 0.82285 exceeds tol 0.001
    (4)       -0.0078502     0.815       Abs err 0.001 exceeds tol 0.001




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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