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: Monitoring.m
    path of file: ./repos/Swan/Topology Optimization/Monitoring
    
    the code of the file until where you have to start completion: classdef Monitoring < handle

    properties (Access = private)
        figures
    end

    properties (Access = private)
        shallDisplay
        maxNCol
    
function appendFigure(obj,fig)
            obj.figures{end+1} = fig;
        end

        function plot(obj,it,data)
            nPlots = length(obj.figures);
            for i = 1:nPlots
                obj.figures{i}.updateParams(it,data(i));
                obj.figures{i}.refresh();
            end