home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.graphics.gnuplot
- Path: sparky!uunet!destroyer!gatech!mailer.cc.fsu.edu!mailer.cc.fsu.edu!luchini
- From: luchini@nhmfl.fsu.edu (Marco Luchini)
- Subject: Re: Date format conversion ?
- In-Reply-To: ratner@news.ans.net's message of 10 Nov 92 02:04:11 GMT
- Message-ID: <LUCHINI.92Nov10220335@senna.nhmfl.fsu.edu>
- Sender: news@mailer.cc.fsu.edu (Usenet News File Owner)
- Nntp-Posting-Host: senna.nhmfl.fsu.edu
- Organization: Department of Physics, Florida State University, Tallahassee
- 32306, USA
- References: <1992Nov10.020411.6892@ans.net>
- Distribution: usa
- Date: 10 Nov 92 22:03:35
- Lines: 56
-
- In article <1992Nov10.020411.6892@ans.net> ratner@news.ans.net (Michael Ratner) writes:
-
- > I have a sequence of the following pairs: [<date> <value>], where
- > <date> is expressed as the number of seconds elapsed since the
- > beginning of UNIX era (Jan 1 00:00 1970). Dates are not continuous,
- > meaning that there's a gap between consecutive values of <date>.
- > How do I get normal-looking dates on the plot as range markings for
- > the "date" axis ? Something like "Oct 1 10:15:34" instead of 74938183
- > (or, 75*10**6, rather) is what I need. Is it at all possible ? Your
- > help is very much appreciated. Thanks.
- >
- > -- Mike Ratner
- >
- >
- > P.S. If it's impossible to do with GNUPLOT, maybe you know of some
- > other graphics package that allows to do that together with
- > being able to produce PostScript files with plots
- > non-interactively ?
-
- Xvgr (a.k.a. ACE/gr) will do all this for you and much more. The
- official site is ftp.ccalmr.ogi.edu [129.95.72.34] in
- /CCALMR/pub/acegr/xvgr-2.09.tar.Z. I've found that 2.09 core dumps
- somewhat more often than 2.08, however. I quote from the man page
- below. If you can't run it (for lack of X, xview or whatever) you may
- still want to look at the bits of code that translate Julian dates to
- all the various formats.
-
-
- Ciao, Marco
-
- DESCRIPTION
- ACE/gr is a data/function plotting tool for workstations or
- X-terminals using X. A few of its features are:
-
- + Polynomial regression, splines, running averages,
- DFT/FFT, cross/auto-correlation.
-
- + Plots up to 10 graphs with 30 datasets per graph.
-
- + User-defined scaling, tick marks, labels, symbols, line
- styles, colors.
-
- + Batch mode for unattended plotting.
-
- + Read and write parameters used during a session.
-
- + Support through device independent graphic drivers for
- PostScript, and FrameMaker .mif format.
-
- --
- -------------------------------------------------------------------------
- Marco Luchini Internet (Preferred): luchini@theory.nhmfl.fsu.edu
- Department of Physics Bitnet: LUCHINI@CZHETH5A
- Florida State University Telephone: +1 904 644 5075
- Tallahassee, FL 32306, USA Fax: +1 904 644 6504
- -------------------------------------------------------------------------
-