[scilab-Users] drawing out of two data files

Francis Drossaert Francis.Drossaert at pgs.com
Mon Sep 20 14:08:10 CEST 2010


Just use plot(x,y) or plot2d(,xy) rather than just plot(y) or plot2d(y). Scilab will plot irregular sampled data correctly.

For example this will plot a straight line even it irregular sampled:
x = [0,1,2,3,4,4.5,5,5.5,6];
y = [1,2,3,4,5,5.5,6,6.5];
plot(x,y);


From: Peng Du [mailto:eddy.pdu at gmail.com]
Sent: 20 September 2010 12:49
To: users at lists.scilab.org
Subject: [scilab-Users] drawing out of two data files

Hi everyone.

I have two data files containing information of the event with the same timespan but in different sampling rate, i.e. they have different sizes but the first and last line denote the identical moment.

Is there any way I can draw them in one graph and have them proper aligned? Thanks a lot.

Best regards,

Peng

This e-mail, including any attachments and response string, may contain proprietary information which is confidential and may be legally privileged. It is for the intended recipient only. If you are not the intended recipient or transmission error has misdirected this e-mail, please notify the author by return e-mail and delete this message and any attachment immediately. If you are not the intended recipient you must not use, disclose, distribute, forward, copy, print or rely on this e-mail in any way except as permitted by the author.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20100920/364bb085/attachment.htm>


More information about the users mailing list