Skip to content

Commit aa4e83e

Browse files
authored
Update genplots.jl
1 parent 8cf065e commit aa4e83e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/genplots.jl

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

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

5050
margingen() = marginplot([tf1, tf2], ws)
5151
gangoffourgen() = begin

0 commit comments

Comments
 (0)