Re: [Scilab-users] Plotting on left and right y axes

2025-05-07 Thread Samuel Enibe
I have tried these examples and the first three worked very well without any change. The last example worked after a minor change in line 32. The original line was e= plot2d(x,y2,style=c); However, I changed it to //e= plot2d(x,y2,style=c); Then it worked. Please edit the line in the w

Re: [Scilab-users] Plotting on left and right y axes

2025-05-07 Thread Samuel Enibe
Thank you very much Stephanie. This help is very much appreciated. Samuel Enibe On Wed, 7 May 2025, 17:00 Stéphane Mottelet, mailto:stephane.motte...@utc.fr>> wrote: Hello Samuel, See last example at https://help.scilab.org/plot_multiscaled S. On May 7, 2025, at 17:32, Samuel Enibe mailto:s

Re: [Scilab-users] Plotting on left and right y axes

2025-05-07 Thread Stéphane Mottelet
Hello Samuel, See last example at https://help.scilab.org/plot_multiscaled S. On May 7, 2025, at 17:32, Samuel Enibe wrote: I have data such as X = 1:10 Y1 = X^2 Y2 = sqrt(X) How can I create a plot with the same x-axis but Y1 is on the left y axis while Y2 is on the right y axis. Thank

[Scilab-users] Plotting on left and right y axes

2025-05-07 Thread Samuel Enibe
I have data such as X = 1:10 Y1 = X^2 Y2 = sqrt(X) How can I create a plot with the same x-axis but Y1 is on the left y axis while Y2 is on the right y axis. Thank you very much. Samuel Enibe This email and any attachments are intended solely for the use of the individual or entity to who

Re: [Scilab-users] Plotting on left and right y axes

2023-04-30 Thread Samuel Enibe
;,'Linewidth',5); h2.filled="off"; h2.axes_visible(1)="off"; h2.y_location="right"; h2.children(1).children(1).thickness=2; ylabel('relative turbine performance','fontsize',4); Date: Fri, 28 Apr 2023 17:32:02 +0100 From:

[Scilab-users] Plotting on left and right y axes

2023-04-29 Thread Heinz Nabielek
Friends: here is one working example Heinz B=read('155508.txt',155508,2); v=B(:,2); plot(35,.2,'k+'); histplot(-0.5:30.5,v,style=2); xgrid(); h1=gca();h1.font_size=4; xlabel('wind speed (m/s)','fontsize',4); ylabel('wind speed probability ()','fontsize',4); title('Power Generation is gi

Re: [Scilab-users] Plotting on left and right y axes

2023-04-28 Thread Samuel Gougeon
Hello, You may have a look to examples in --> help plot_multiscaled https://help.scilab.org/docs/2023.0.0/en_US/plot_multiscaled.html##L280 Best regards Le 28/04/2023 à 18:32, Samuel Enibe a écrit : How can I plot two graphs on the same window, with graph 1 on the left y axis, and graph 2

[Scilab-users] Plotting on left and right y axes

2023-04-28 Thread Samuel Enibe
How can I plot two graphs on the same window, with graph 1 on the left y axis, and graph 2 on the right y axis. For example, x = 1:4; y1 = x.^2; y2 = x.^3; plot(x, y1);// y1 on left y axis plot (x. y2);// y2 on right y axis Your assistance will be greatly appreciated. Samuel Enibe This em