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: sdfnc_post_process.m
    path of file: ./repos/gift/GroupICAT/icatb
    
    the code of the file until where you have to start completion: function varargout = sdfnc_post_process(varargin)
% SDFNC_POST_PROCESS MATLAB code for sdfnc_post_process.fig
%      SDFNC_POST_PROCESS, by itself, creates a new SDFNC_POST_PROCESS or raises the existing
%      singleton*.
%
%      H = SDFNC_POST_PROCESS returns the handle to a new SDFNC_POST_PROCESS or the handle to
%      the existing singleton*.
%
%      SDFNC_POST_PROCESS('CALLBACK',hObject,eventData,handles,...) calls the local
%      function named CALLBACK in SDFNC_POST_PROCESS.M with the given input arguments.
%
%      SDFNC_POST_PROCESS('Property','Value',...) creates a new SDFNC_POST_PROCESS or raises the
%      existing singleton*.  Starting from the left, property value pairs are
%      applied to the GUI before sdfnc_post_process_OpeningFcn gets called.  An
%      unrecognized property name or invalid value makes property application
%      stop.  All inputs are passed to sdfnc_post_process_OpeningFcn via varargin.
%
%      *See GUI Options on GUIDE's Tools menu.  Choose "GUI allows o
    
function drawComp(compListH, event_data, handles)

icatb_defaults;
global UI_FONTNAME;
global FONT_COLOR;

sel_comp = get(findobj(handles, 'tag', 'components'), 'value');
compData = get(handles, 'userdata');
%axesH = findobj(handles, 'tag', 'axes_display_comp');
axesH = get(handles, 'currentaxes');

fontSizeText = 8;
cmap = icatb_getColormap(1, 2, 1);

if (~isempty(sel_comp))
    DIM = [size(compData, 1), size(compData, 2), length(sel_comp)];
    [im, numImagesX, numImagesY, textToPlot] = icatb_returnMontage(compData(:, :, sel_comp), [], DIM, [1, 1, 1], sel_comp);
    image(im, 'parent', axesH, 'CDataMapping', 'scaled');
    set(axesH, 'clim', [1, 200]); % set the axis positions to the specified
    axis(axesH, 'off');
    axis(axesH, 'image');
    colormap(cmap);
    textCount = 0;
    dim = size(im);
    yPos = 1 + dim(1) / numImagesY;
    for nTextRows = 1:numImagesY
        xPos = 1;
        for nTextCols = 1:numImagesX
            textCount = textCount + 1;
            if textCount <= DIM(3)
                text(xPos, yPos, num2str(round(textToPlot(textCount))), 'color', FONT_COLOR,  ...
                    'fontsize', fontSizeText, 'HorizontalAlignment', 'left', 'verticalalignment', 'bottom', ...
                    'FontName', UI_FONTNAME, 'parent', axesH);
            end