[Scilab-users] Subplot figure size

Serge Steer Serge.Steer at inria.fr
Tue Dec 8 11:51:06 CET 2015


Le 08/12/2015 10:41, petarf a écrit :
> Hello,
>
> How to change subplot size of figure but not to change the whole size
> figure? I have managed to change one subplot size but I also changed the
> whole figure to that size.
>
> Thanks, Petar
>
>
>
> --
> View this message in context: http://mailinglists.scilab.org/Subplot-figure-size-tp4033189.html
> Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
The axes size is controlled by the axes_bounds property of the axes entity
example

fig=scf(0);
ax=gca()
ax.axes_visible="on";
ax.axes_bounds=[0 0 1/2 1/3];
ax1=newaxes();
ax1.axes_visible="on";
ax1.axes_bounds=[0.3 0.5 1/2 1/3];

The axes_bounds values are given in proportions of the axes_size 
property of the figure entity.

Serge



More information about the users mailing list