function addaxes(h)

%% Find the new set of channel names
if ~all(cellfun('isempty',h.ChannelName))
    outputNames = [h.ChannelName; {' '}];
else
    outputNames = {' '};
    for k=2:h.AxesGrid.size(1)
       outputNames = [outputNames; {' '}];
    end   
end

%% Update the grid
h.resize(outputNames);

%% Customize behavior
h.setbehavior

%% Notify axesgrid listeners to update the axes table
h.AxesGrid.send('viewchanged')

