Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #284

strange behavior x2tics

From zak <u.gotzes@googlemail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject strange behavior x2tics
Date 2011-05-02 05:10 -0700
Organization http://groups.google.com
Message-ID <988b0318-0eea-4d4d-a953-42e60759c070@y31g2000vbp.googlegroups.com> (permalink)

Show all headers | View raw


Hi,

here is a sample of my dataset:
...
2010-02-02 19   0  0  0  0  0  0
2010-02-02 20   5970.0  0  0  0  0  0
2010-02-02 21   7050.0  0  0  0  0  0
2010-02-02 22   7050.0  0  0  0  0  0
...

in my plotfile I say:
...
set x2data time
set timefmt x2 "%Y-%m-%d %H"
set x2tics 0,21600
# 21600 = 6 * (number of seconds per hour)
set mx2tics 6
...

and in the output everything looks fine.
x2 axis reads 06 |||||| 12 |||||| 18 |||||| 00 |||||| 06 ...

Then I wanted to plot a larger period of time and therefore reduced
the number of x2tics:

set x2tics 0,43200

and then the tics are at the wrong position!
any idea?

Thanks!

Back to comp.graphics.apps.gnuplot | Previous | NextNext in thread | Find similar


Thread

strange behavior x2tics zak <u.gotzes@googlemail.com> - 2011-05-02 05:10 -0700
  Re: strange behavior x2tics Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2011-05-02 23:21 +0200

csiph-web