[Scilab-users] absolute size of figure
Antoine Monmayrant
amonmayr at laas.fr
Fri Oct 2 13:53:02 CEST 2015
Hi,
You want to specify hf.axes_size = [1000,400].
figure_size sets the size of the inner part of the graphical window, including border and titlebar (hence the missing 1 pixel left and right and 58 at the top),
Hope it helps,
Antoine
Le Vendredi 2 Octobre 2015 12:28 CEST, grivet <grivet at cnrs-orleans.fr> a écrit:
> Hello,
> I have a problem with the size in pixels of figures produced by Scilab
> (5.5.1 under Win7). I use xs2gif to record figures on disk; these are
> later incorporated in an animation. My application requires that the
> picture size be not larger than 800*600 pixels. How is the actual size
> determined by Scilab ?
> If I use the statements
> hf = gcf();
> hf.figure_size=[1000,400];
> I find that the resulting size is not exactly 1000*400 but somewhat
> smaller in both dimensions. This is a bit annoying since the aspect
> ratio is altered.
> In some programs, I use xsetech to select either of two subwindows. How
> should I proceed to fix the overall size?
> Thank you for any help.
> Cheers,
> JP Grivet*
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
More information about the users
mailing list