Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2819 > unrolled thread
| Started by | cassini01@live.com |
|---|---|
| First post | 2015-03-16 09:03 -0700 |
| Last post | 2015-03-17 21:46 +0600 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
Datafile with AM/PM in time-series cassini01@live.com - 2015-03-16 09:03 -0700
Re: Datafile with AM/PM in time-series Michael Okuntsov <proximum@land.ru> - 2015-03-17 21:46 +0600
| From | cassini01@live.com |
|---|---|
| Date | 2015-03-16 09:03 -0700 |
| Subject | Datafile with AM/PM in time-series |
| Message-ID | <43b5473c-f4be-4b35-8db5-7b8f0b62685e@googlegroups.com> |
Hi, I want to plot a time-series datafile in which the time is specified as follows: ... 3/12/2015 11:59:45 PM 3/12/2015 11:59:50 PM 3/12/2015 11:59:55 PM 3/13/2015 12:00:00 AM 3/13/2015 12:00:05 AM 3/13/2015 12:00:10 AM ... How to plot with correct X-axis timeformat ? (%p seems to be an am/pm specifier only for the output, not for the input datafile, correct ?) Many thanks
[toc] | [next] | [standalone]
| From | Michael Okuntsov <proximum@land.ru> |
|---|---|
| Date | 2015-03-17 21:46 +0600 |
| Message-ID | <me9i69$f93$1@dont-email.me> |
| In reply to | #2819 |
16.03.2015 22:03, cassini01@live.com пишет: > Hi, > > I want to plot a time-series datafile in which the time is specified as follows: > > ... > 3/12/2015 11:59:45 PM > 3/12/2015 11:59:50 PM > 3/12/2015 11:59:55 PM > 3/13/2015 12:00:00 AM > 3/13/2015 12:00:05 AM > 3/13/2015 12:00:10 AM > ... > > > How to plot with correct X-axis timeformat ? > (%p seems to be an am/pm specifier only for the output, not for the input datafile, correct ?) > > Many thanks > Seems that you can't do it within gnuplot. You can convert your series to 24h format the same way as it was answeded here: http://stackoverflow.com/questions/440061/convert-12-hour-date-time-to-24-hour-date-time Generally speaking, it's a bad idea, to use AM/PM notation in technical data.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web