[Scilab-users] Plotting 2 functions & integrate 1 definitive

Pirovano, Bart b.v.pirovano at hva.nl
Mon Jan 2 11:26:28 CET 2017


Goodday, I would like to add a second function to the underneath little program. I suppose something I haven't done correct where I address 'b'. Can somebody put me in the good direction with integrating the x,y curve?

clf;
// y-axis GZ (m)
// x-axis degrees
x=[0,2,5,10,12,15,20,25,30,40,50,60]';
y=[0,0.065,0.10,0.136,0.159,0.19,0.29,0.382,0.50,0.84,0.91,0.85]';
b=['2x'];
xtitle("GZ kromme Elandsgracht / departure Singapore") xlabel('φ (degrees)'); ylabel('GZ (m)'); plot2d (x,y); integ('x,y','x',0,30);

Bart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20170102/44f05ada/attachment.htm>


More information about the users mailing list