Skip to content

Commit 49d8b68

Browse files
committed
Add rlocusplot
1 parent e19cd0e commit 49d8b68

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/figures/rlocus.png

17.6 KB
Loading

src/genplots.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,13 @@ function getexamples()
5454
gangoffourplot(tf1, [tf(1), tf(5)])
5555
end
5656
pzmapgen() = pzmap(tf2, xlims=(-15,5))
57+
rlocusgen() = rlocusplot(tf2)
5758

5859
plotsdir = Pkg.dir("ControlExamplePlots")*"/src/figures/"
5960
refs = ["bode.png", "nyquist.png", "sigma.png", "nichols.png", "step.png",
60-
"impulse.png", "lsim.png", "margin.png", "gangoffour.png", "pzmap.png"]
61+
"impulse.png", "lsim.png", "margin.png", "gangoffour.png", "pzmap.png", "rlocus.png"]
6162
funcs = [bodegen, nyquistgen, sigmagen, nicholsgen, stepgen,
62-
impulsegen, lsimgen, margingen, gangoffourgen, pzmapgen]
63+
impulsegen, lsimgen, margingen, gangoffourgen, pzmapgen, rlocusgen]
6364
eps = 0.001*ones(length(refs));
6465
funcs, map(s -> plotsdir*s, refs), eps
6566
end

0 commit comments

Comments
 (0)