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

getScatterPlot
function imageData = getScatterPlot
    global workingSet;
    
    f = figure('Visible', 'off');
    axesH = axes('Parent', f);
    plotmatrix(axesH, workingSet)

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

Contact us at files@mathworks.com