1 AT_BANNER([Chart Geometry])
3 AT_SETUP([Chart Scale])
4 AT_CHECK([../../math/chart-get-scale-test], [0], [ignore])
7 AT_SETUP([Chart Ticks Format])
8 AT_CHECK([../../math/chart-get-ticks-format-test], [0], [dnl
9 lower: 1000, interval: 10, nticks: 10, fs: %.0lf, scale: 1, ex: 1030, ex 2: 1040
10 lower: 10000, interval: 10, nticks: 10, fs: %.0lf, scale: 1, ex: 10030, ex 2: 10040
11 lower: 100000, interval: 10, nticks: 10, fs: %.0lf, scale: 1, ex: 100030, ex 2: 100040
12 lower: 1e+06, interval: 10, nticks: 10, fs: %.0lf, scale: 1, ex: 1000030, ex 2: 1000040
13 lower: 1e+07, interval: 10, nticks: 10, fs: %.0lf, scale: 1, ex: 10000030, ex 2: 10000040
14 lower: 1e+08, interval: 10, nticks: 10, fs: %.0lf, scale: 1, ex: 100000030, ex 2: 100000040
15 lower: 0.1, interval: 0.01, nticks: 10, fs: %.2lf, scale: 1, ex: 0.13, ex 2: 0.14
16 lower: 0.01, interval: 0.001, nticks: 10, fs: %.3lf, scale: 1, ex: 0.013, ex 2: 0.014
17 lower: 0.001, interval: 0.0001, nticks: 10, fs: %.4lf, scale: 1, ex: 0.0013, ex 2: 0.0014
18 lower: 0.0001, interval: 1e-05, nticks: 10, fs: %.1lf×10<sup>-4</sup>, scale: 10000, ex: 1.3×10<sup>-4</sup>, ex 2: 1.4×10<sup>-4</sup>
19 lower: 1e-05, interval: 1e-07, nticks: 10, fs: %.2lf×10<sup>-5</sup>, scale: 100000, ex: 1.03×10<sup>-5</sup>, ex 2: 1.04×10<sup>-5</sup>
20 lower: 1e-07, interval: 1e-08, nticks: 10, fs: %.1lf×10<sup>-7</sup>, scale: 1e+07, ex: 1.3×10<sup>-7</sup>, ex 2: 1.4×10<sup>-7</sup>
21 lower: -5, interval: 1, nticks: 10, fs: %.0lf, scale: 1, ex: -2, ex 2: -1
22 lower: -5, interval: 0.5, nticks: 10, fs: %.1lf, scale: 1, ex: -3.5, ex 2: -3.0
23 lower: -5, interval: 0.2, nticks: 9, fs: %.1lf, scale: 1, ex: -4.4, ex 2: -4.2
24 lower: -5, interval: 2, nticks: 10, fs: %.0lf, scale: 1, ex: 1, ex 2: 3
25 lower: -0.5, interval: 0.1, nticks: 9, fs: %.1lf, scale: 1, ex: -0.2, ex 2: -0.1
26 lower: 9.75e+08, interval: 5e+06, nticks: 9, fs: %.3lf×10<sup>9</sup>, scale: 1e-09, ex: 0.990×10<sup>9</sup>, ex 2: 0.995×10<sup>9</sup>
27 lower: 9.7e+08, interval: 1e+07, nticks: 9, fs: %.2lf×10<sup>9</sup>, scale: 1e-09, ex: 1.00×10<sup>9</sup>, ex 2: 1.01×10<sup>9</sup>
28 lower: -4e+07, interval: 1e+07, nticks: 9, fs: %.0lf×10<sup>7</sup>, scale: 1e-07, ex: -1×10<sup>7</sup>, ex 2: 0×10<sup>7</sup>
29 lower: -3e+07, interval: 5e+06, nticks: 9, fs: %.1lf×10<sup>7</sup>, scale: 1e-07, ex: -1.5×10<sup>7</sup>, ex 2: -1.0×10<sup>7</sup>
30 lower: 1.001e-95, interval: 2e-99, nticks: 10, fs: %.4lf×10<sup>-95</sup>, scale: 1e+95, ex: 1.0016×10<sup>-95</sup>, ex 2: 1.0018×10<sup>-95</sup>
31 lower: 1.001e+98, interval: 2e+94, nticks: 10, fs: %.4lf×10<sup>98</sup>, scale: 1e-98, ex: 1.0016×10<sup>98</sup>, ex 2: 1.0018×10<sup>98</sup>
32 lower: 5984, interval: 1e-05, nticks: 10, fs: %.5lf, scale: 1, ex: 5984.00003, ex 2: 5984.00004
33 lower: 3e+33, interval: 1e-22, nticks: 10, fs: %lg, scale: 1, ex: 3e+33, ex 2: 3e+33
34 lower: 3e+33, interval: 1000, nticks: 10, fs: %.8lf×10<sup>33</sup>, scale: 1e-33, ex: 3.00000000×10<sup>33</sup>, ex 2: 3.00000000×10<sup>33</sup>
35 lower: 0.1, interval: 2e-42, nticks: 10, fs: %.8lf, scale: 1, ex: 0.10000000, ex 2: 0.10000000