Mercurial > forge
changeset 10887:5af195699f20 octave-forge
control: minor bug fix (stairs doesn't like the "-" style argument)
author | paramaniac |
---|---|
date | Sat, 22 Sep 2012 10:14:12 +0000 |
parents | a35583cfba9f |
children | 256b88bc1861 |
files | main/control/devel/__time_response_2__.m |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/main/control/devel/__time_response_2__.m Sat Sep 22 10:10:53 2012 +0000 +++ b/main/control/devel/__time_response_2__.m Sat Sep 22 10:14:12 2012 +0000 @@ -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