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

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

[Octave-bug-tracker] [bug #37554] PaperPositionMode = 'auto' is ignored


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #37554] PaperPositionMode = 'auto' is ignored for printing
Date: Mon, 26 May 2014 20:36:57 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0

Follow-up Comment #37, bug #37554 (project octave):

I can reproduce part of the failure (only the first assert fails) if set
paperpositionmode "auto" at figure initialisation:


%! hf = figure ("visible", "off", "paperpositionmode", "auto"); 
...


The test then involves more unit conversions. Here is an example that always
fails for me:


hf = figure (); 
pos = get (hf, "paperposition");
set (hf, "paperunits", "centimeters")
set (hf, "paperunits", "inches")
assert (pos, get (hf, "paperposition"));

error: ASSERT errors for:  assert (pos,get (hf, "paperposition"))

  Location  |  Observed  |  Expected  |  Reason
    (2)          2.5          2.5        Abs err 4.4409e-16 exceeds tol 0

  
Solving the above bug would probably involve concentrating all unit
conversions in one place (which is currently far from being true). 

I propose the following:
* file another bug report with the above failure. 
* either mark the current test as xfail or increase the tolerance and then
close this bug report.

Any thoughts?


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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