www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgsurfview/@pointplot/copyToFigure.m
function out = copyToFigure(obj,fig) %POINTPLOT/COPYTOFIGURE Returns a printable copy of the plot % % label_handle = obj.copyToFigure(fig) % % Not very interesting to print, but it would be restrictive not to allow % printing, since this is the fallback for surface and line plots when one % node doesn't depend an input. % Copyright 2000-2011 The MathWorks, Inc. and Ford Global Technologies, Inc. out = copyobj(obj.hControl,fig); str = get(out,'String'); str = char(getTitle(obj.PlotData),'',str); set(out,'String',str);