Commit Graph

35 Commits

Author SHA1 Message Date
Peter J. Holzer 730393cb18 Merge branch 'master' of git.hjp.at:hjp/timeseries 2022-03-13 21:41:24 +01:00
Peter J. Holzer 897bdf5628 Start week on monday 2022-03-13 21:40:54 +01:00
Peter J. Holzer 25527eee87 Merge branch 'master' of git.hjp.at:hjp/timeseries 2021-11-17 12:12:39 +01:00
Peter J. Holzer 49c27c7a08 Fix year computation 2021-11-17 12:12:26 +01:00
Peter J. Holzer d812f8abde Declare control files as UTF-8 2021-10-12 20:21:20 +02:00
Peter J. Holzer aa026a4eaf Add options --pointtype and --pointsize (tsplot only for now) 2020-02-20 11:44:34 +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 f2e93268d7 Allow timezone spec without minutes 2016-08-08 14:00:42 +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
hjp 8f8955978d Option --colors. 2014-09-18 12:38:57 +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 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 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 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 16c6001409 Automatically unlink temporary files. 2006-05-21 15:08:33 +00:00
hjp aebdd114be Added stacked mode.
Added two new utils top_n, tsplotv
2006-02-14 09:45:11 +00:00
hjp 2bc741058c Added method legend_position 2005-11-27 11:16:55 +00:00
hjp e231f5e307 Added methods gsresolution and finalresolution to adjust intermediate
and final resolution of pixmap output.
2005-02-23 14:05:06 +00:00
hjp a23fcb5862 10 days is too long for 1 tick/4 hours - reduced to 8 days. 2005-02-23 14:02:37 +00:00
hjp 2df211737b Added documentation (finally!).
Fixed log_x and log_y methods to allow turning off log scaling
(this isn't really needed because linear scaling is the default,
but it was still a bug).
2005-02-14 16:07:20 +00:00
hjp 674160c45c Avoid warning about undefinded value when calling legend for the first time. 2003-08-15 21:28:39 +00:00
hjp b6aab82949 Improved spacing of tics. 2003-08-15 21:08:33 +00:00
hjp 1145af3d59 added add_timestring method.
added tsplot script.
cleaned up test output.
2003-08-08 13:01:59 +00:00
hjp 03cb462f75 Added new scaling (1 tick/3 months) for series longer than 3 years. 2003-04-24 14:39:01 +00:00
hjp 185cbdedec Fixed test for PNG generation. 2003-04-24 14:09:44 +00:00
hjp c9ebeaf37e Added logarithmic scaling
Added output type
2003-04-24 14:03:32 +00:00
hjp 05c38f1efa Snapshot 2003-03-03 11:54:09 +00:00