<html>
    <head>
      <base href="http://bugzilla.scilab.org/" />
    </head>
    <body><br>
    ---------- Bug Summary ----------- <br>axes margins contain some %nan or %inf <br><br>
    <br>
      <p>
        <div>

            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - axes margins contain some %nan or %inf"
   href="http://bugzilla.scilab.org/show_bug.cgi?id=13807#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - axes margins contain some %nan or %inf"
   href="http://bugzilla.scilab.org/show_bug.cgi?id=13807">bug 13807</a>
              from <span class="vcard"><a class="email" href="mailto:Alain.Lamy@cnes.fr" title="Alain Lamy <Alain.Lamy@cnes.fr>"> <span class="fn">Alain Lamy</span></a>
</span></b>
        <pre>Other info (in case it helps): 

f = scf();
f.visible="on";
f.immediate_drawing="off";

a=gca();
disp(a.margins); 

// => OK: margins = 0.125    0.125    0.125    0.125

// then change a.title.text, a.x_label.text, a.y_label.text
(with: a = gca()) 

disp(a.margins); 

// => (sometimes) NOT OK: margins = Nan    0.125    Inf    Nan
// In another execution case: margins = 0.125    0.125    0.125    Nan
// (the value is not always the same, and often the value is correct)


So another workaround is to set the "margins" field to the default value = 0.15 * ones(1,4),
before the actual plot takes place.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>