Home > freetb4matlab > image > brighten.m

brighten

PURPOSE ^

% Darkens or brightens the given colormap. If the @var{map} argument

SYNOPSIS ^

function Rmap = brighten (m, beta)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {@var{map_out} =} brighten (@var{map}, @var{beta})
% @deftypefnx {Function File} {@var{map_out} =} brighten (@var{h}, @var{beta})
% @deftypefnx {Function File} {@var{map_out} =} brighten (@var{beta})
% Darkens or brightens the given colormap.  If the @var{map} argument 
% is omitted, the function is applied to the current colormap.  The first
% argument can also be a valid graphics handle @var{h}, in which case 
% @code{brighten} is applied to the colormap associated with this handle.
%
% Should the resulting colormap @var{map_out} not be assigned, it will be
% written to the current colormap.
%
% The argument @var{beta} should be a scalar between -1 and 1,
% where a negative value darkens and a positive value brightens
% the colormap.
% @seealso{colormap}
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003