www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgsurfview/@dataviewer/getPlotTypeData.m

    function d = getPlotTypeData(obj,plottype)
%DATAVIEWER/GETPLOTTYPEDATA Retrieves "static" data for the specified plot type
%
% d = getPlotTypeData(obj,plottype)
%

%  Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc.


pt = obj.plottypes;

if ischar(plottype)
    plottype = getPlotTypeIndex(obj,plottype);
end

d = obj.plottype(plottype).data;