Commit Graph

66 Commits

Author SHA1 Message Date
Peter J. Holzer 11c13599c8 Add Legacycode 2020-02-16 11:43:20 +01:00
Peter J. Holzer 0d47dee3cd Merge branch 'master' of git.hjp.at:hjp/timeseries 2020-02-16 10:51:53 +01:00
Peter J. Holzer b574ed25cc Add --legend-position to tsplot 2020-02-16 10:51:30 +01:00
Peter J. Holzer 7fc7cb46a9 Suppress repeated prefixes in timestamps
Always printing the full timestamp makes the graph look cluttered. So we
print only the first in full format and then only the part suffix that
changed since the previous one. This gives us a nice major/minor
pattern.
2020-02-15 12:52:00 +01:00
Peter J. Holzer cdd9f6fdd8 Escape underscores in legend strings
Other characters have special meaning, too. But they haven't cropped up
yet. Anyway, don't run this on untrusted input.
2020-02-15 12:11:42 +01:00
Peter J. Holzer 77e8042783 Install tsplotvsql 2019-12-17 11:42:27 +01:00
Peter J. Holzer d3af2e6a5b Add tsplotsql based on tsplot 2019-12-17 11:40:40 +01:00
Peter J. Holzer 4a529d40d3 Apply accumulated changes from tsplotv to tsplotvsql 2019-12-17 11:15:39 +01:00
Peter J. Holzer 1f4b6f1a91 Rename tsplotsql to tsplotvsql
Because that's what it is and I want a tsplotsql, too.
2019-12-17 10:50:15 +01:00
Peter J. Holzer 6d6400d3eb Merge branch 'master' of ssh://hrunkner.hjp.at/home/hjp/git/timeseries 2019-02-10 15:03:55 +01:00
Peter J. Holzer 70388313a2 Add parameter --yrange 2019-02-10 15:03:31 +01:00
Peter J. Holzer 55a1151be7 Fix doc 2019-02-10 15:03:08 +01:00
Peter J. Holzer af5bc29093 Mark postderef as experimental for 5.20 compatibility
Postderef became canon in Perl 5.24. In 5.20 it was still considered
experimental.
2018-12-08 22:34:29 +01:00
Peter J. Holzer d9efbfe61c Fix --finalresolution to require an argument 2017-12-14 03:33:12 +01:00
Peter J. Holzer 98ea159ff7 Use postderef instead of autoderef 2017-12-14 03:28:46 +01:00
Peter J. Holzer e86f51be2f Install tsplotsql 2016-09-02 15:02:25 +02:00
Peter J. Holzer f2e93268d7 Allow timezone spec without minutes 2016-08-08 14:00:42 +02:00
Peter J. Holzer 2ef9920fd9 Merge branch 'master' of /home/hjp/git-repos/timeseries 2016-08-08 13:24:12 +02:00
Peter J. Holzer bcf002fcf2 Add new script tsplotsql 2016-08-08 13:21:54 +02:00
Peter J. Holzer 08e8660ad9 Extend usable time range to about 200 years
Previously the maximum grid spacing was 3 months which became
impractical with more than about 10 years of data. Now there are also
1 year and 5 year grid spacings.
Also worked around timelocal() DWIMery which would return wrong values
for much of the 20th century.
2016-06-04 13:17:19 +02:00
Peter J. Holzer 59902c1322 Make cropping optional 2016-04-21 17:25:57 +02:00
Peter J. Holzer ba6b4c824e Add option --configfile 2016-04-21 17:17:33 +02:00
hjp 8f8955978d Option --colors. 2014-09-18 12:38:57 +00:00
hjp 06b3d02fd9 fixed some typos in the documentation. 2012-09-03 11:42:41 +00:00
hjp 1490373cb7 added option --time_t 2012-09-03 11:42:04 +00:00
hjp 92b79b783e [late commit Apr 3 2011]: Added option --finalresolution 2012-09-03 10:15:00 +00:00
hjp 94091963d4 use style "filledcurves" for stacked data. 2011-04-03 08:04:55 +00:00
hjp cec6895a09 use "set style data ..." instead of "set data style ..." 2011-02-05 21:22:15 +00:00
hjp 4e7a5cd120 added method and option yrange.
fixed postscript test (probably broken because of new gnuplot version)
2010-04-19 13:09:09 +00:00
hjp 67a3bb656e added tsfilter to EXE_FILES 2010-04-02 07:55:57 +00:00
hjp 93e02ac444 filter timeseries by date 2010-04-02 07:52:40 +00:00
hjp c39fbfb48b option --keeptempfiles for debugging 2010-04-02 07:52:05 +00:00
hjp 358feec650 New version of gnuplot creates /Title entry in dict - fixed test. 2008-06-05 08:56:59 +00:00
hjp 43d3fed888 added the --tsv and --stacked options.
Use Pod::Usage to keep usage message in sync with pod.
2008-04-22 19:04:02 +00:00
hjp 2a5e204878 Improved doc a little bit. 2007-10-11 14:22:40 +00:00
hjp 8888279244 Added option log_y 2007-09-06 07:11:14 +00:00
hjp ec78df4a1d Added options style and timestamp. 2007-09-06 07:08:03 +00:00
hjp c56fd5c9a0 Adapted and commented postscript test. 2007-02-17 12:55:22 +00:00
hjp 429e13239e Added (undocumented) option keeptempfiles.
Changed postscript output: Lines are now solid, font size is 10pt.
2007-02-17 12:28:48 +00:00
hjp fd488facbf Make less noise. 2006-12-18 12:32:10 +00:00
hjp f3308007c0 Added --log-y option to tsplot and a test case. 2006-10-25 08:52:00 +00:00
hjp b7cba90cc7 Added 15 minute tick for times < 1h. 2006-10-25 08:51:24 +00:00
hjp 6833d0b350 Refactorization: get_ticks consists essentially of four parts:
An computing the initial value, generating the label, computing the next
part, and a loop around the whole stuff. Extracted the loop from the
if-else cascade.
2006-09-30 12:34:02 +00:00
hjp 3d0b7f7cbe Refactorization: moved computation of ticks into function get_ticks. 2006-09-30 11:45:21 +00:00
hjp 464d8c4233 Added --style.
Use Pod::Usage.
Improved doc.
2006-09-30 10:28:19 +00:00
hjp 99f7bdff4a Add new grid spacing for less than 6 hours. 2006-09-26 09:15:55 +00:00
hjp 22da4bd59d Handle missing values. 2006-09-08 10:26:36 +00:00
hjp 690629d95f Added some options to scripts and simple testcases for scripts. 2006-08-29 08:14:27 +00:00
hjp d1284de05d Added POD and comments to top_n.
Added script sensorstemmpplot.
2006-07-24 08:43:57 +00:00
hjp 16c6001409 Automatically unlink temporary files. 2006-05-21 15:08:33 +00:00