Re: [Scilab-users] Plot with 2 y-axes

2017-06-28 Thread Richard llom
Hi Samuel, thanks I already figured it out with demo_gui and by searching the archive. So for the record: For my case I needed to create 3-axes: 1 for each extra y-axe and one "virtual" to get the x-axe in its own color scheme. This is the code I ended up with: -- View this message in context

Re: [Scilab-users] Plot with 2 y-axes

2017-06-28 Thread Samuel Gougeon
Le 27/06/2017 à 13:33, Richard llom a écrit : Hello Samuel, I couldn't find plotyy in the help, neither does plotyy() work for me: "Undefined variable: plotyy" My fault: demos are not named plotyy() and plotyyy() but plotyy and plotyyy. There are usages without dedicated functions. In the demos

Re: [Scilab-users] Plot with 2 y-axes

2017-06-27 Thread Richard llom
Hello Samuel, I couldn't find plotyy in the help, neither does plotyy() work for me: "Undefined variable: plotyy" I will take a look at the archives... regards richard Hello, There are 2 demos named plotyy() and plotyyy() that are examples that you can edit and mimick, about this topic. In ad

Re: [Scilab-users] Plot with 2 y-axes

2017-06-27 Thread Samuel Gougeon
Hello, There are 2 demos named plotyy() and plotyyy() that are examples that you can edit and mimick, about this topic. In addition, it was already dealt with in some quite recent threads in this mailing list. You may have a look to the archives. Regards Samuel Le 27/06/2017 à 00:51, Richard l

[Scilab-users] Plot with 2 y-axes

2017-06-26 Thread Richard llom
Hello fellow scilab-users, I'm having a hard time creating a plot with two y-axes. This is what I tried so far: // Visualization clf(); // Channel 1 plot2d(1:10,1:10); ax1=gca(); ax1.x_label.text="time"; ax1.y_label.text="ch1"; ax1.y_location="left"; ax1.foreground=5; ax1.font_color=5; // red //