Function datetickiso()
datetickiso(axisid)
datetickiso(axisid,ntickmax)
adds date-time tick labels to an axis. The labels
are formatted (almost) according to ISO 8601:
yyyy-mm-dd hh:mm:ss.sss,
or shorter when possible. Instead of the official
"T", a space is used to delimit the date part from
the time part.
The axis must contain data in decimal days from
the 1st of January of the year 1, i.e. the output
of function datenum().
Input variable axisid contains the string by which
the axis is refered to: "x" (default), "y" or "z".
Input variable ntickmax contains an integer for the
desired maximum number of tick labels. At default,
it is set to 5.
Note that the data values of the axis of the
figure are recalculated, so that the data values
are not too big (have too many significant digits).
(c) 2026 fabien van mook
2026.08.20 release of this file within package "fvm-miscellaneous" under GNU GPLv3+