1
## Copyright (C) 1998-2003 Joao Cardoso.
3
## This program is free software; you can redistribute it and/or modify it
4
## under the terms of the GNU General Public License as published by the
5
## Free Software Foundation; either version 2 of the License, or (at your
6
## option) any later version.
8
## This program is distributed in the hope that it will be useful, but
9
## WITHOUT ANY WARRANTY; without even the implied warranty of
10
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
## General Public License for more details.
13
## This file is part of plplot_octave.
17
## Gray-scale with a tinge of blue color map.
18
## bone(M) returns an M-by-3 matrix containing a "bone" colormap.
19
## without arguments, cmap has lenght 64
21
function cmap = bone(m)
27
cmap = (7*gray(m) + fliplr(hot(m)))/8;