set timefmt '%H:%M'
set format x '%H:%M'
set xdata time
plot 'datafile' using 1:2
--
Even if all the snow were burnt, ashes would remain.
Thanks for your help, but it doesn't work. Unfortunaly I forgot to sayQuote:> For your data, it'd be
> set timefmt '%H:%M'
> set format x '%H:%M'
> set xdata time
> plot 'datafile' using 1:2
1. Fractional seconds in timefmt
I am using gnuplot for MS-Windows 32 bit version 3.7, patchlevel 1,
(last modified Fri Oct 22 18:00:00 BST 1999).
I take data (on a particle accelerator) at a rate of about 5 Hz, so
it includes fractional seconds. Typical format is:
04/30/2003 12:06:38.46 33.362 33.411 34.637 34.711 33.313
04/30/2003 12:06:38.66 33.502 33.575 34.790 34.869 33.453
04/30/2003 12:06:38.86 33.795 33.734 34.937 35.034 33.600
04/30/2003 12:06:39.07 33.942 33.905 35.083 35.205 33.746
Is there any way I can have gnuplot read in and plot using the
fractional seconds, with xdata set to time? Axis labels in
integer seconds are fine, so it's just the reading and plotting
I'm having trouble with.
If manipulating the data ahead of time, for example, converting the
above date/time to seconds since 2000 (including the fraction),
would help, I can easily do that.
Thanks.
Ken Jacobs
Synchrotron Radiation Center
Univ. of Wisconsin-Madison
(608) 877-2142
- -
[[[[ to unsubscribe from info-gnuplot, send an email with body
unsubscribe info-gnuplot
]]]]
2. *** Help me to find 3DS "*.ASC" format decription & source for read it ***
4. Command line command for rendering z-depth?
5. Help with timefmt command-please respond
7. timefmt for 00:12:34.5678 ??
10. placeholders in timefmt string ?
13. Problems using timefmt + Timestamp