[Scilab-users] multiple plots

Serge Steer Serge.Steer at inria.fr
Wed Aug 20 21:38:27 CEST 2014


ecau
Le 20/08/2014 15:32, grivet a écrit :
> For a single plot, it is possible to choose many aspects of the plot 
> using, for instance
>         ha = gca();
>         ha.data_bounds=[-5, -5 ; 20, 20];
>
> Is it possible to have the same possibilities within subplots, like
>         subplot(2,1,1)
>         ha1 = gca();
>         ha1.data_bounds=[-5, -5 ; 20, 20];
>         subplot(2,1,2)
>         ha2 = gca;
take care: here you must write  ha2 = gca();
the instruction ha2=gca just copy the gca reference into ha2
> ha2.data_bounds=[-1, -1 ; 2, 2];
> (which does not work with Scilab 5.5/win7).
>
> I would like to plot two different variables, with different units and 
> ranges. Even more
> ambitious, I would like to run different animations in each subplot.
>
both are possible.
for smooth animation it is better to update the polyline data instead of 
clearing the window and recreating the subwindows and their children
Serge Steer
> Thank you for any suggestions.
> JP Grivet
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>




More information about the users mailing list