Skip to content

Commit d90fa3c

Browse files
committed
fix plot label bug for bodeplot
1 parent 88806bb commit d90fa3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ControlSystemsBase/src/pid_design.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ function pidplots(P::LTISystem, args...;
255255
pzmap(Ts; title="Pole-zero map", kwargs...) |> display
256256
end
257257
if :controller args
258-
bodeplot(Cs, ω; lab=labels, title="Controller bode plot", kwargs...) |> display
258+
bodeplot(Cs, ω; lab=repeat(labels, inner=(1,2)), title="Controller bode plot", kwargs...) |> display
259259
end
260260
end
261261

0 commit comments

Comments
 (0)