Bizarre figure_size convention in 5.1.1
Stéphane Mottelet
stephane.mottelet at utc.fr
Thu May 14 16:19:36 CEST 2009
Hi again,
seems that the figure_size definition has changed in 5.1.1, this causes some
different behaviour between e.g. 4.1.2 and scilab>5.
In Scilab 5.1.1, at least under windows xp, the height of the figure given
by get(gcf(), figure_size) is equal to the full height of the window,
taking
into account the height of the scilab toolbar and the height of the window
manager's window bar.
In Scilab 4.1.2, the height given by figure_size is equal to the height of
the canvas + the height of the Scilab toolbar.
In Matlab, the height of the window given by get(gcf,'Position') is equal to
the height of the canvas, which seems to be the most logical option (i.e.
platform independent).
S.
More information about the users
mailing list