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: nmt_spm_plot.m
    path of file: ./repos/fieldtrip/contrib/nutmegtrip
    
    the code of the file until where you have to start completion: function nmt_spm_plot(cfg,axsel)
% nmt_spm_plot(cfg)
% plots desired activation on SPM8 viewer
% designed for use via nmt_sourceplot, but possibly usable independently

global st

if(~exist('cfg','var') || isempty(cfg))

    
function nmt_spm_plot(cfg,axsel)
% nmt_spm_plot(cfg)
% plots desired activation on SPM8 viewer
% designed for use via nmt_sourceplot, but possibly usable independently

global st

if(~exist('cfg','var') || isempty(cfg))
    cfg = st.nmt.cfg;
end

if(~exist('axsel','var'))
    axsel = 1;
end

if(~isfield(cfg,'colormap'))
    cfg.colormap = jet(64);
end