From: <sch...@us...> - 2010-11-17 12:38:21
|
Revision: 7929 http://octave.svn.sourceforge.net/octave/?rev=7929&view=rev Author: schloegl Date: 2010-11-17 12:38:14 +0000 (Wed, 17 Nov 2010) Log Message: ----------- fix for more than one format argument Modified Paths: -------------- trunk/octave-forge/extra/NaN/inst/cdfplot.m Modified: trunk/octave-forge/extra/NaN/inst/cdfplot.m =================================================================== --- trunk/octave-forge/extra/NaN/inst/cdfplot.m 2010-11-17 12:09:34 UTC (rev 7928) +++ trunk/octave-forge/extra/NaN/inst/cdfplot.m 2010-11-17 12:38:14 UTC (rev 7929) @@ -44,7 +44,7 @@ cdf = cumsum(his.H,1) ./ sum(his.H,1); ix1 = ceil ([1:2*size(his.X,1)]'/2); ix2 = floor([2:2*size(his.X,1)]'/2); -hh = plot (his.X(ix1), [0; cdf(ix2)], varargin); +hh = plot (his.X(ix1), [0; cdf(ix2)], varargin{:}); if nargout>0, h = hh; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |