Gnuplot axis scale units
Posted
by Kami
on Stack Overflow
See other posts from Stack Overflow
or by Kami
Published on 2010-04-14T08:04:34Z
Indexed on
2010/04/14
8:23 UTC
Read the original article
Hit count: 297
I have the following data in a log file:
1270719764.323778250 926 vm-mystery1 1073744528 0 1
1270719764.323815250 926 vm-mystery1 1073746080 0 1
1270719764.323842250 926 vm-mystery1 1075968992 0 1
The first column is a UNIX date that I want to use for my x-axis in a gnuplot graph. My graph looks ugly because the first unit in the x-axis is 1.27072e+09. I would like to have the x-axis looks like the following : x axis [(first row date - first row date) ; (last row date - first row date)] displaying ticks in mili seconds. How to do this ?
© Stack Overflow or respective owner