ParaMonte MATLAB 3.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation. |
Go to the source code of this file.
Functions | |
function | redblue (in nell) |
Return a blue-red colormap matrix of shape (nell, 3) containing a redblue colormap.More... | |
function redblue | ( | in | nell | ) |
Return a blue-red colormap matrix of shape (nell, 3)
containing a redblue colormap.
The colors begin with bright blue, range through shades of blue to white, and then through shades of red to bright red.
The output is the same length as the current figure colormap.
If no figure exists, MATLAB will create one.
[in] | nell | : The input scalar MATLAB integer representing the number of elements (rows) of the output colormap matrix. (optional, default = size(get(gcf, 'colormap'), 1) ) |
cmap
: The output blue-red colormap matrix of shape [nell, 3]
containing a redblue colormap.
Possible calling interfaces ⛓
Example usage ⛓
hsv()
, gray()
, hot()
, bone()
, copper()
, pink()
, flag()
, colormap()
, rgbplot()
.
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.
Adam Auton, 9th October 2009 Copyright (c) 2009, Adam Auton All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
This software is provided by the copyright holders and contributors "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. in no event shall the copyright owner or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.