annotate scripts/image/turbo.m @ 33617:ec2635a02328 bytecode-interpreter tip

maint: Merge default to bytecode-interpreter.
author Markus Mützel <markus.muetzel@gmx.de>
date Tue, 21 May 2024 18:29:03 +0200
parents d8e5e55c3cf5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
29348
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
1 ########################################################################
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
2 ##
32632
2e484f9f1f18 maint: update Octave Project Developers copyright for the new year
John W. Eaton <jwe@octave.org>
parents: 31706
diff changeset
3 ## Copyright (C) 2021-2024 The Octave Project Developers
29348
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
4 ##
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
5 ## See the file COPYRIGHT.md in the top-level directory of this
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
6 ## distribution or <https://octave.org/copyright/>.
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
7 ##
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
8 ## This file is part of Octave.
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
9 ##
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
10 ## Octave is free software: you can redistribute it and/or modify it
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
11 ## under the terms of the GNU General Public License as published by
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
12 ## the Free Software Foundation, either version 3 of the License, or
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
13 ## (at your option) any later version.
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
14 ##
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
15 ## Octave is distributed in the hope that it will be useful, but
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
16 ## WITHOUT ANY WARRANTY; without even the implied warranty of
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
17 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
18 ## GNU General Public License for more details.
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
19 ##
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
20 ## You should have received a copy of the GNU General Public License
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
21 ## along with Octave; see the file COPYING. If not, see
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
22 ## <https://www.gnu.org/licenses/>.
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
23 ##
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
24 ########################################################################
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
25
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
26 ## -*- texinfo -*-
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
27 ## @deftypefn {} {@var{map} =} turbo ()
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
28 ## @deftypefnx {} {@var{map} =} turbo (@var{n})
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
29 ## Create color colormap. This colormap ranges from dark blue through green
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
30 ## to dark red; similar to the outdated @code{jet} colormap but perceptually
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
31 ## uniform.
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
32 ##
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
33 ## The argument @var{n} must be a scalar.
32647
dfb9b770ae77 Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32632
diff changeset
34 ## If @var{n} is not specified the length of the current colormap is used. If
dfb9b770ae77 Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32632
diff changeset
35 ## there is no current colormap the default value of 256 is used.
29348
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
36 ## @seealso{colormap}
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
37 ## @end deftypefn
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
38
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
39 ## This is a port to Octave of the Google LLC colormap "turbo"
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
40 ## by Anton Mikhailov. The original file is distributed under Apache-2.0:
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
41 ## https://opensource.org/licenses/Apache-2.0
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
42
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
43 function map = turbo (n)
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
44
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
45 if (nargin == 1)
32737
d8e5e55c3cf5 Tighten input validation for all colormaps (bug #65011).
Rik <rik@octave.org>
parents: 32653
diff changeset
46 if (! (isscalar (n) && isreal (n) && n == fix (n)))
d8e5e55c3cf5 Tighten input validation for all colormaps (bug #65011).
Rik <rik@octave.org>
parents: 32653
diff changeset
47 error ("turbo: N must be a scalar integer");
29348
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
48 endif
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
49 n = double (n);
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
50 else
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
51 hf = get (0, "currentfigure");
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
52 if (! isempty (hf))
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
53 n = rows (get (hf, "colormap"));
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
54 else
32647
dfb9b770ae77 Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32632
diff changeset
55 n = 256;
29348
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
56 endif
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
57 endif
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
58
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
59 persistent turbo_lut = [0.18995, 0.07176, 0.23217;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
60 0.19483, 0.08339, 0.26149;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
61 0.19956, 0.09498, 0.29024;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
62 0.20415, 0.10652, 0.31844;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
63 0.20860, 0.11802, 0.34607;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
64 0.21291, 0.12947, 0.37314;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
65 0.21708, 0.14087, 0.39964;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
66 0.22111, 0.15223, 0.42558;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
67 0.22500, 0.16354, 0.45096;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
68 0.22875, 0.17481, 0.47578;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
69 0.23236, 0.18603, 0.50004;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
70 0.23582, 0.19720, 0.52373;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
71 0.23915, 0.20833, 0.54686;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
72 0.24234, 0.21941, 0.56942;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
73 0.24539, 0.23044, 0.59142;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
74 0.24830, 0.24143, 0.61286;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
75 0.25107, 0.25237, 0.63374;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
76 0.25369, 0.26327, 0.65406;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
77 0.25618, 0.27412, 0.67381;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
78 0.25853, 0.28492, 0.69300;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
79 0.26074, 0.29568, 0.71162;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
80 0.26280, 0.30639, 0.72968;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
81 0.26473, 0.31706, 0.74718;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
82 0.26652, 0.32768, 0.76412;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
83 0.26816, 0.33825, 0.78050;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
84 0.26967, 0.34878, 0.79631;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
85 0.27103, 0.35926, 0.81156;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
86 0.27226, 0.36970, 0.82624;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
87 0.27334, 0.38008, 0.84037;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
88 0.27429, 0.39043, 0.85393;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
89 0.27509, 0.40072, 0.86692;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
90 0.27576, 0.41097, 0.87936;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
91 0.27628, 0.42118, 0.89123;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
92 0.27667, 0.43134, 0.90254;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
93 0.27691, 0.44145, 0.91328;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
94 0.27701, 0.45152, 0.92347;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
95 0.27698, 0.46153, 0.93309;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
96 0.27680, 0.47151, 0.94214;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
97 0.27648, 0.48144, 0.95064;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
98 0.27603, 0.49132, 0.95857;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
99 0.27543, 0.50115, 0.96594;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
100 0.27469, 0.51094, 0.97275;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
101 0.27381, 0.52069, 0.97899;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
102 0.27273, 0.53040, 0.98461;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
103 0.27106, 0.54015, 0.98930;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
104 0.26878, 0.54995, 0.99303;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
105 0.26592, 0.55979, 0.99583;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
106 0.26252, 0.56967, 0.99773;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
107 0.25862, 0.57958, 0.99876;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
108 0.25425, 0.58950, 0.99896;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
109 0.24946, 0.59943, 0.99835;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
110 0.24427, 0.60937, 0.99697;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
111 0.23874, 0.61931, 0.99485;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
112 0.23288, 0.62923, 0.99202;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
113 0.22676, 0.63913, 0.98851;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
114 0.22039, 0.64901, 0.98436;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
115 0.21382, 0.65886, 0.97959;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
116 0.20708, 0.66866, 0.97423;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
117 0.20021, 0.67842, 0.96833;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
118 0.19326, 0.68812, 0.96190;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
119 0.18625, 0.69775, 0.95498;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
120 0.17923, 0.70732, 0.94761;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
121 0.17223, 0.71680, 0.93981;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
122 0.16529, 0.72620, 0.93161;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
123 0.15844, 0.73551, 0.92305;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
124 0.15173, 0.74472, 0.91416;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
125 0.14519, 0.75381, 0.90496;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
126 0.13886, 0.76279, 0.89550;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
127 0.13278, 0.77165, 0.88580;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
128 0.12698, 0.78037, 0.87590;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
129 0.12151, 0.78896, 0.86581;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
130 0.11639, 0.79740, 0.85559;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
131 0.11167, 0.80569, 0.84525;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
132 0.10738, 0.81381, 0.83484;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
133 0.10357, 0.82177, 0.82437;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
134 0.10026, 0.82955, 0.81389;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
135 0.09750, 0.83714, 0.80342;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
136 0.09532, 0.84455, 0.79299;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
137 0.09377, 0.85175, 0.78264;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
138 0.09287, 0.85875, 0.77240;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
139 0.09267, 0.86554, 0.76230;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
140 0.09320, 0.87211, 0.75237;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
141 0.09451, 0.87844, 0.74265;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
142 0.09662, 0.88454, 0.73316;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
143 0.09958, 0.89040, 0.72393;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
144 0.10342, 0.89600, 0.71500;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
145 0.10815, 0.90142, 0.70599;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
146 0.11374, 0.90673, 0.69651;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
147 0.12014, 0.91193, 0.68660;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
148 0.12733, 0.91701, 0.67627;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
149 0.13526, 0.92197, 0.66556;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
150 0.14391, 0.92680, 0.65448;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
151 0.15323, 0.93151, 0.64308;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
152 0.16319, 0.93609, 0.63137;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
153 0.17377, 0.94053, 0.61938;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
154 0.18491, 0.94484, 0.60713;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
155 0.19659, 0.94901, 0.59466;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
156 0.20877, 0.95304, 0.58199;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
157 0.22142, 0.95692, 0.56914;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
158 0.23449, 0.96065, 0.55614;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
159 0.24797, 0.96423, 0.54303;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
160 0.26180, 0.96765, 0.52981;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
161 0.27597, 0.97092, 0.51653;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
162 0.29042, 0.97403, 0.50321;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
163 0.30513, 0.97697, 0.48987;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
164 0.32006, 0.97974, 0.47654;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
165 0.33517, 0.98234, 0.46325;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
166 0.35043, 0.98477, 0.45002;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
167 0.36581, 0.98702, 0.43688;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
168 0.38127, 0.98909, 0.42386;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
169 0.39678, 0.99098, 0.41098;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
170 0.41229, 0.99268, 0.39826;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
171 0.42778, 0.99419, 0.38575;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
172 0.44321, 0.99551, 0.37345;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
173 0.45854, 0.99663, 0.36140;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
174 0.47375, 0.99755, 0.34963;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
175 0.48879, 0.99828, 0.33816;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
176 0.50362, 0.99879, 0.32701;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
177 0.51822, 0.99910, 0.31622;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
178 0.53255, 0.99919, 0.30581;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
179 0.54658, 0.99907, 0.29581;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
180 0.56026, 0.99873, 0.28623;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
181 0.57357, 0.99817, 0.27712;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
182 0.58646, 0.99739, 0.26849;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
183 0.59891, 0.99638, 0.26038;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
184 0.61088, 0.99514, 0.25280;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
185 0.62233, 0.99366, 0.24579;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
186 0.63323, 0.99195, 0.23937;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
187 0.64362, 0.98999, 0.23356;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
188 0.65394, 0.98775, 0.22835;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
189 0.66428, 0.98524, 0.22370;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
190 0.67462, 0.98246, 0.21960;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
191 0.68494, 0.97941, 0.21602;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
192 0.69525, 0.97610, 0.21294;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
193 0.70553, 0.97255, 0.21032;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
194 0.71577, 0.96875, 0.20815;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
195 0.72596, 0.96470, 0.20640;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
196 0.73610, 0.96043, 0.20504;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
197 0.74617, 0.95593, 0.20406;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
198 0.75617, 0.95121, 0.20343;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
199 0.76608, 0.94627, 0.20311;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
200 0.77591, 0.94113, 0.20310;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
201 0.78563, 0.93579, 0.20336;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
202 0.79524, 0.93025, 0.20386;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
203 0.80473, 0.92452, 0.20459;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
204 0.81410, 0.91861, 0.20552;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
205 0.82333, 0.91253, 0.20663;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
206 0.83241, 0.90627, 0.20788;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
207 0.84133, 0.89986, 0.20926;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
208 0.85010, 0.89328, 0.21074;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
209 0.85868, 0.88655, 0.21230;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
210 0.86709, 0.87968, 0.21391;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
211 0.87530, 0.87267, 0.21555;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
212 0.88331, 0.86553, 0.21719;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
213 0.89112, 0.85826, 0.21880;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
214 0.89870, 0.85087, 0.22038;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
215 0.90605, 0.84337, 0.22188;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
216 0.91317, 0.83576, 0.22328;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
217 0.92004, 0.82806, 0.22456;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
218 0.92666, 0.82025, 0.22570;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
219 0.93301, 0.81236, 0.22667;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
220 0.93909, 0.80439, 0.22744;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
221 0.94489, 0.79634, 0.22800;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
222 0.95039, 0.78823, 0.22831;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
223 0.95560, 0.78005, 0.22836;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
224 0.96049, 0.77181, 0.22811;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
225 0.96507, 0.76352, 0.22754;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
226 0.96931, 0.75519, 0.22663;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
227 0.97323, 0.74682, 0.22536;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
228 0.97679, 0.73842, 0.22369;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
229 0.98000, 0.73000, 0.22161;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
230 0.98289, 0.72140, 0.21918;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
231 0.98549, 0.71250, 0.21650;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
232 0.98781, 0.70330, 0.21358;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
233 0.98986, 0.69382, 0.21043;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
234 0.99163, 0.68408, 0.20706;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
235 0.99314, 0.67408, 0.20348;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
236 0.99438, 0.66386, 0.19971;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
237 0.99535, 0.65341, 0.19577;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
238 0.99607, 0.64277, 0.19165;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
239 0.99654, 0.63193, 0.18738;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
240 0.99675, 0.62093, 0.18297;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
241 0.99672, 0.60977, 0.17842;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
242 0.99644, 0.59846, 0.17376;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
243 0.99593, 0.58703, 0.16899;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
244 0.99517, 0.57549, 0.16412;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
245 0.99419, 0.56386, 0.15918;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
246 0.99297, 0.55214, 0.15417;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
247 0.99153, 0.54036, 0.14910;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
248 0.98987, 0.52854, 0.14398;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
249 0.98799, 0.51667, 0.13883;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
250 0.98590, 0.50479, 0.13367;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
251 0.98360, 0.49291, 0.12849;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
252 0.98108, 0.48104, 0.12332;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
253 0.97837, 0.46920, 0.11817;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
254 0.97545, 0.45740, 0.11305;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
255 0.97234, 0.44565, 0.10797;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
256 0.96904, 0.43399, 0.10294;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
257 0.96555, 0.42241, 0.09798;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
258 0.96187, 0.41093, 0.09310;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
259 0.95801, 0.39958, 0.08831;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
260 0.95398, 0.38836, 0.08362;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
261 0.94977, 0.37729, 0.07905;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
262 0.94538, 0.36638, 0.07461;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
263 0.94084, 0.35566, 0.07031;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
264 0.93612, 0.34513, 0.06616;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
265 0.93125, 0.33482, 0.06218;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
266 0.92623, 0.32473, 0.05837;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
267 0.92105, 0.31489, 0.05475;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
268 0.91572, 0.30530, 0.05134;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
269 0.91024, 0.29599, 0.04814;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
270 0.90463, 0.28696, 0.04516;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
271 0.89888, 0.27824, 0.04243;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
272 0.89298, 0.26981, 0.03993;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
273 0.88691, 0.26152, 0.03753;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
274 0.88066, 0.25334, 0.03521;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
275 0.87422, 0.24526, 0.03297;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
276 0.86760, 0.23730, 0.03082;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
277 0.86079, 0.22945, 0.02875;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
278 0.85380, 0.22170, 0.02677;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
279 0.84662, 0.21407, 0.02487;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
280 0.83926, 0.20654, 0.02305;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
281 0.83172, 0.19912, 0.02131;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
282 0.82399, 0.19182, 0.01966;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
283 0.81608, 0.18462, 0.01809;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
284 0.80799, 0.17753, 0.01660;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
285 0.79971, 0.17055, 0.01520;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
286 0.79125, 0.16368, 0.01387;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
287 0.78260, 0.15693, 0.01264;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
288 0.77377, 0.15028, 0.01148;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
289 0.76476, 0.14374, 0.01041;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
290 0.75556, 0.13731, 0.00942;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
291 0.74617, 0.13098, 0.00851;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
292 0.73661, 0.12477, 0.00769;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
293 0.72686, 0.11867, 0.00695;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
294 0.71692, 0.11268, 0.00629;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
295 0.70680, 0.10680, 0.00571;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
296 0.69650, 0.10102, 0.00522;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
297 0.68602, 0.09536, 0.00481;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
298 0.67535, 0.08980, 0.00449;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
299 0.66449, 0.08436, 0.00424;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
300 0.65345, 0.07902, 0.00408;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
301 0.64223, 0.07380, 0.00401;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
302 0.63082, 0.06868, 0.00401;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
303 0.61923, 0.06367, 0.00410;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
304 0.60746, 0.05878, 0.00427;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
305 0.59550, 0.05399, 0.00453;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
306 0.58336, 0.04931, 0.00486;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
307 0.57103, 0.04474, 0.00529;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
308 0.55852, 0.04028, 0.00579;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
309 0.54583, 0.03593, 0.00638;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
310 0.53295, 0.03169, 0.00705;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
311 0.51989, 0.02756, 0.00780;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
312 0.50664, 0.02354, 0.00863;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
313 0.49321, 0.01963, 0.00955;
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
314 0.47960, 0.01583, 0.01055];
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
315
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
316 p = rows (turbo_lut);
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
317 map = interp1 (1:p, turbo_lut, linspace (1, p, n), "linear");
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
318
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
319 endfunction
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
320
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
321
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
322 %!demo
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
323 %! ## Show the 'turbo' colormap profile and as an image
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
324 %! cmap = turbo (256);
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
325 %! subplot (2, 1, 1);
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
326 %! rgbplot (cmap, "composite");
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
327 %! subplot (2, 1, 2);
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents:
diff changeset
328 %! rgbplot (cmap);
32647
dfb9b770ae77 Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32632
diff changeset
329
dfb9b770ae77 Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32632
diff changeset
330
dfb9b770ae77 Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32632
diff changeset
331 %!assert (size (turbo ()), [256, 3])
dfb9b770ae77 Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32632
diff changeset
332 %!assert (size (turbo (16)), [16, 3])
dfb9b770ae77 Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32632
diff changeset
333
dfb9b770ae77 Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32632
diff changeset
334 %!assert (turbo(0), zeros (0, 3))
dfb9b770ae77 Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32632
diff changeset
335 %!assert (turbo(-1), zeros (0, 3))
dfb9b770ae77 Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32632
diff changeset
336
dfb9b770ae77 Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32632
diff changeset
337 %!shared a
dfb9b770ae77 Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32632
diff changeset
338 %! a = [0.18995, 0.07176, 0.23217;
dfb9b770ae77 Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32632
diff changeset
339 %! 0.10342, 0.89600, 0.71500;
dfb9b770ae77 Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32632
diff changeset
340 %! 0.98000, 0.73000, 0.22161;
dfb9b770ae77 Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32632
diff changeset
341 %! 0.47960, 0.01583, 0.01055];
dfb9b770ae77 Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32632
diff changeset
342
dfb9b770ae77 Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32632
diff changeset
343 %!assert (turbo (1), a(4,:))
dfb9b770ae77 Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32632
diff changeset
344 %!assert (turbo (true), double (a(4,:)))
dfb9b770ae77 Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32632
diff changeset
345 %!assert (turbo (char (1)), double (a(4,:)))
dfb9b770ae77 Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32632
diff changeset
346 %!assert (turbo (int32 (1)), double (a(4,:)))
dfb9b770ae77 Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32632
diff changeset
347 %!assert (turbo (4), a, eps)
dfb9b770ae77 Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32632
diff changeset
348
dfb9b770ae77 Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32632
diff changeset
349 %!shared # Clear shared varibles to avoid echo on unrelated test errors.
dfb9b770ae77 Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32632
diff changeset
350
dfb9b770ae77 Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32632
diff changeset
351 ## Input validation
32737
d8e5e55c3cf5 Tighten input validation for all colormaps (bug #65011).
Rik <rik@octave.org>
parents: 32653
diff changeset
352 %!error <N must be a scalar integer> turbo ("foo")
d8e5e55c3cf5 Tighten input validation for all colormaps (bug #65011).
Rik <rik@octave.org>
parents: 32653
diff changeset
353 %!error <N must be a scalar integer> turbo ([1, 2, 3])
d8e5e55c3cf5 Tighten input validation for all colormaps (bug #65011).
Rik <rik@octave.org>
parents: 32653
diff changeset
354 %!error <N must be a scalar integer> turbo ({1, 2, 3})