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: AUC.m
    path of file: ./repos/ChangeDetectionToolbox/+Metrics/@AUC
    
    the code of the file until where you have to start completion: classdef AUC < Metrics.CDMetric
    pr
    
function fig = plotROC(obj, varargin)
            % Note that this method has to be invoked after obj.update is
            % called
            fig = figure('Name', 'ROC Curve');
            plot(obj.fprs, obj.tprs, 'b-', 'LineWidth', 2, varargin{:});
            grid on,
            title(sprintf('AUC=%.4f', obj.val(end