Skip to content

Commit 7c07a8d

Browse files
authored
Companion PR to ControlSystems#346 (#12)
With JuliaControl/ControlSystems.jl#346 we no longer need to supply `Ts` to these time-domain plots as they handle args in the same way as the underlying function, i.e., `stepplot` is called in the same way as `step`.
1 parent 747040c commit 7c07a8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/genplots.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ function getexamples()
4242
#Only siso for now
4343
nicholsgen() = nicholsplot(tf1,ws)
4444

45-
stepgen() = stepplot(sys, ts[end], ts[2]-ts[1], l=(:dash, 4))
46-
impulsegen() = impulseplot(sys, ts[end], ts[2]-ts[1], l=:blue)
45+
stepgen() = stepplot(sys, ts[end], l=(:dash, 4))
46+
impulsegen() = impulseplot(sys, ts[end], l=:blue)
4747
L = lqr(sysss.A, sysss.B, [1 0; 0 1], [1 0; 0 1])
4848
lsimgen() = lsimplot(sysss, (x,i)->-L*x, ts, [1;2])
4949

0 commit comments

Comments
 (0)