toms463
toms463,
a FORTRAN77 code which
implements ACM toms algorithm 463, for determining
a nice, rounded range and interval width for a computer-generated
plot.
The text of many ACM toms algorithms is available online
through ACM:
http://www.acm.org/pubs/calgo
or NETLIB:
http://www.netlib.org/toms/index.html.
Usage:
-
call scale1 ( xmin, xmax, n, xminp, xmaxp, dist )
-
where XMIN and XMAX are the data range, and N
is the desired number of intervals. The revised range is
XMINP to XMAXP, with an interval width of
DIST and approximately N intervals.
-
call scale2 ( xmin, xmax, n, xminp, xmaxp, dist )
-
where XMIN and XMAX are the data range, and N
is the desired number of intervals. The revised range is
XMINP to XMAXP, with an interval width of
DIST, and exactly N intervals.
-
call scale3 ( xmin, xmax, n, xminp, xmaxp, dist )
-
where XMIN and XMAX are the data range, and N
is the desired number of intervals. The revised range is
XMINP to XMAXP, with N logarithmic intervals
whose successive ratio is DIST.
Licensing:
The computer code and data files described and made available on this web page
are distributed under
the MIT license
Languages:
toms463 is available in
a FORTRAN77 version.
Related Data and Programs:
toms463_test
Reference:
-
CR Lewart,
Algorithm 463: Algorithms SCALE1, SCALE2 and SCALE3 for
Determination of Scales for Computer Generated Plots,
Communications of the ACM,
October 1973, Volume 16, Number 10, pages 639-640.
Source Code:
Last revised on 18 November 2023.