Re: [Scilab-users] multiple plots

2014-08-21 Thread grivet
Thank you Serge for correctiong my mistake; my program now work fine. 
However,
I notice that the two subplots are rather small and occupy a small 
fraction of the overall
window. They shrink when the window is made small but they do not get 
larger than a
certain size when i enlarge the window. Is it possible to choose the 
size of the subplots ?


JP Grivet
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] multiple plots

2014-08-20 Thread grivet
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;
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.

Thank you for any suggestions.
JP Grivet

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] multiple plots

2014-08-20 Thread Serge Steer

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@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users



___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users