From: <par...@us...> - 2012-09-22 10:14:18
|
Revision: 11073 http://octave.svn.sourceforge.net/octave/?rev=11073&view=rev Author: paramaniac Date: 2012-09-22 10:14:12 +0000 (Sat, 22 Sep 2012) Log Message: ----------- control: minor bug fix (stairs doesn't like the "-" style argument) Modified Paths: -------------- trunk/octave-forge/main/control/devel/__time_response_2__.m Modified: trunk/octave-forge/main/control/devel/__time_response_2__.m =================================================================== --- trunk/octave-forge/main/control/devel/__time_response_2__.m 2012-09-22 10:10:53 UTC (rev 11072) +++ trunk/octave-forge/main/control/devel/__time_response_2__.m 2012-09-22 10:14:12 UTC (rev 11073) @@ -106,7 +106,7 @@ [tfinal, dt] = cellfun (@__sim_horizon__, sys_cell, {tfinal}, {dt}, "uniformoutput", false); tfinal = max ([tfinal{:}]); -dt + ct_idx = cellfun (@isct, sys_cell); sys_dt_cell = sys_cell; tmp = cellfun (@c2d, sys_cell(ct_idx), dt(ct_idx), {"zoh"}, "uniformoutput", false); @@ -165,7 +165,7 @@ style = args(style_idx(style_idx > sys_idx(k) & style_idx <= lim)); if (isempty (style)) color = colororder(1+rem (k-1, rc), :); - style = {"-", "color", color}; + style = {"color", color}; endif discrete = ! ct_idx(k); if (discrete) # discrete-time system This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |