
Chapter II-12 — Graphs
II-279
It is much easier to let the Modify Axis dialog change the wave scaling for you.
When you click the Date/Time radio button, Igor tracks down the controlling wave
for the axis and sets the appropriate units to “dat”.
For Igor to use a date or time axis, the following additional restrictions must be met:
the axis must span at least 2 seconds and both ends must be within the legal range for
a date/time value. If any of these restrictions is not met, Igor displays a single tick
mark.
When an axis is in the date/time mode, the Date/Time Tick Labels box in the
Ticks&Grids tab of the Modify Axis dialog is available.
From the Time Format pop-up menu, you can choose Normal, Military, or
Elapsed. Use Normal or Military for time-of-day times and Elapsed for elapsed
times. In normal mode, the minute before midnight is displayed as 11:59:00 PM
and midnight is displayed as 12:00:00 AM. In military mode, they are displayed
as 23:59:00 and 00:00:00.
Elapsed mode can display times from -9999:59:59 to +9999:59:59. This mode makes sense if the values dis-
played on the axis are actually elapsed times (e.g., 23:59:00). It makes no sense and will display no tick labels
if the values are actually date/times (e.g., 7/28/93 23:59:00).
The Date Format pop-up menu is relevant when you are displaying dates or date/times. It has no signifi-
cance for times. From the Date Format pop-up, you can choose Short, Long, Abbrev, or Other. In the short
mode, today’s date is displayed in month/day/year format, such as 7/28/93. In the long mode, it is displayed
as Wednesday, July 29, 1993. In the abbrev mode, it is displayed as Wed, Jul 28, 1993.
For further discussion of how Igor represents dates, see Date/Time Waves on page II-102.
Custom Date Formats
If you choose Other from the Date Format pop-up, a dialog is displayed giving you almost complete control
over the format of the tick labels. The dialog allows a broad range of automatic formats:
It also allows extensive control over custom formats (this is not quite the default appearance; we have
changed some selections to show a larger range of possibilities):
Komentáře k této Příručce