plotting time series

David PICARD d.picard at opgc.univ-bpclermont.fr
Fri Feb 18 11:07:00 CET 2011


I finally managed to plot time series with date and time on the x axis 
spanned on 2 lines. As it took me a lot more time than I expected to 
gather all the necessary help, I felt the need to share it. The wiki 
people may want to make a page on this topic.

Anyway, here is my script, a sample data file, and an image of the plot. 
The "Latex trick" to split the label string in 2 lines was once posted 
by Antoine Monmayrant - rendons à César ce qui est à César. And there is 
no need to install whatever extra package.

The columns in the data file are : date and time (unix time stamp, i.e. 
seconds since 1970-01-01 00:00:00), humidity, temperature of some sensor.

David.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: plotTimeSeries.png
Type: image/png
Size: 15450 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20110218/a3b8aa1c/attachment.png>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: plotTimeSeries.sce
URL: <https://lists.scilab.org/pipermail/users/attachments/20110218/a3b8aa1c/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sample.txt
URL: <https://lists.scilab.org/pipermail/users/attachments/20110218/a3b8aa1c/attachment.txt>


More information about the users mailing list