You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: spm_orthviews_change_colormap.m
    path of file: ./repos/CanlabCore/CanlabCore/Visualization_functions
    
    the code of the file until where you have to start completion: function cm = spm_orthviews_change_colormap(lowcolor, hicolor, varargin)
% :Usage:

    
function cm = spm_orthviews_change_colormap(lowcolor, hicolor, varargin)
% :Usage:
% ::
%
%    cm = spm_orthviews_change_colormap(lowcolor, hicolor, midcolor1, midcolor2, etc.)
%
% Create a new split colormap of your choosing and apply it to the
% spm_orthviews figure.
%
% :Examples:
% ::
%
%    spm_orthviews_change_colormap([.2 .2 .6], [1 1 0]);  % slate to yellow
%    spm_orthviews_change_colormap([.9 .5 .2], [1 1 0]);  % orange to yellow
%    spm_orthviews_change_colormap([.8 .1 .1], [1 1 0], [.9 .6 .1]);  %red to orange to yellow
%    spm_orthviews_change_colormap([.2 .2 .4], [1 1 0], [.9 .6 .1]);  %slate to orange to yellow
%    cm = spm_orthviews_change_colormap([0 0 1], [1 1 0], [0 .5 1], [0 .5 .5], ...
%    [0 1 .5], [0 1 0], [.5 1 0]);
%    cm = spm_orthviews_change_colormap([0 0 1], [1 1 0], [.5 0 1], [.5 .5 1], ... 
%    [1 .5 1], [1 .5 .5], [1 .5 0]);
%
% ..
%    tor wager, sept. 2007
% ..

myfig = findobj('Tag','Graphics'); % colormap
axishandles = findobj(myfig, 'Type', 'Axes');

newcm = colormap_tor(lowcolor, hicolor, varargin{:});
wh = round(linspace(1, size(newcm, 1), 64));
cm = [gray(64) ; newcm(wh, :)];


% specify split color-map of 128 values; first 64 are gray, last 64 have
% colors for activations; this is specified by spm_orthviews

% Don't set directly, because legend