www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/+mbcmodelview/NormalPlot.m
classdef NormalPlot < mbcmodelview.SpecialPlots %NormalPlot normal plot special plot view % Copyright 2015 The MathWorks, Inc. and Ford Global Technologies, Inc. properties (Constant) ViewInfo= { @mbcmodelview.NormalPlot; '&Normal Plot'; xregrespath('normalplot.bmp'); 'Normal plot'; 1}; end methods function obj = NormalPlot(varargin) %NormalPlot constructor obj@mbcmodelview.SpecialPlots('PlotType','Normal Plot',varargin{:}); end end methods (Access=protected) function plot(obj) %plot plot normal plot ms = obj.MessageService; X= ms.XData(ms.DataOK,:); Y= ms.YData(ms.DataOK); h = normplot(ms.Model,X,Y,obj.Axes); % add callback to main line set(h(1),'Tag','main line',... 'Color',diagPlotColor(ms.ModelDev)); end end end