[Bugzilla] [Bug 13807] Alain Lamy has commented the bug

bugzilla.admin at scilab.org bugzilla.admin at scilab.org
Fri Apr 3 21:24:11 CEST 2015


http://bugzilla.scilab.org/show_bug.cgi?id=13807
--------- Bug Summary -----------
axes margins contain some %nan or %inf

---------- Changed by ------------
Alain.Lamy at cnes.fr

---------- What changed ----------

--- Comment #3 from Alain Lamy <Alain.Lamy at cnes.fr> ---
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.

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/bugzilla/attachments/20150403/217ca16b/attachment.htm>


More information about the Bugzilla mailing list