[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PLOT procedure (was: Julian Day Numbers)
- Subject: PLOT procedure (was: Julian Day Numbers)
- From: James Tappin <sjt(at)star.sr.bham.ac.uk>
- Date: Tue, 21 Nov 2000 16:15:57 +0000
- Newsgroups: comp.lang.idl-pvwave
- Organization: None
- References: <3A1145DA.605789C4@tidewater.net>
- User-Agent: KNode/0.3.2
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:22290
One real gotcha with Julian day numbers is if you try to use them for a
time axis on a plot.
It works fine for long time axes, but if you try looking at high-resolution
data things look really messy.
The problem is that PLOT converts to single-precision before converting
coordinates to data and this means that all values are truncated to the
nearest quarter day (for IEEE floats).
James
--
+------------------------+-------------------------------+---------+
| James Tappin | School of Physics & Astronomy | O__ |
| sjt@star.sr.bham.ac.uk | University of Birmingham | -- \/` |
| Ph: 0121-414-6462. Fax: 0121-414-3722 | |
+--------------------------------------------------------+---------+