[Scilab-users] Subplot and isoview

Antoine Monmayrant antoine.monmayrant at laas.fr
Thu Jan 24 11:47:01 CET 2013


On 24/01/2013 11:38, Dang, Christophe wrote:
> Hello,
>
> isoview does not work the way I expect to in a subplot.
>
> E.g. the following script draws an ellipse instead of a circle.
>
> clf;
> subplot(2, 1, 1)
> theta = linspace(0, 2*%pi, 20);
> plot(cos(theta), sin(theta));
> a = get('current_axes');
> a.isoview = 'on';
>
> How can I get a circle?

add either:
a.axes_bounds(3)=0.5
or:
a.axes_bounds(4)=1

you'll get a circle, but you'll also mess up with the subplot layout.

Antoine
>





More information about the users mailing list