from Web Deployment Using MATLAB by Todd Flanagan
A web-based gene analysis demonstration using MATLAB Builder for COM

getStatisticsPlot
function imageData = getStatisticsPlot
    global workingSet;
    global workingSetT;
    
    f = figure('Visible', 'off');
    maboxplot(workingSet, workingSetT);

    % Create the output filename
    imageData = getBitMap(f);
    
    close(f);
    

Contact us at files@mathworks.com