Skip to content

Commit 3e9862d

Browse files
committed
allow setting color with kwargs c in boeplot
1 parent 5cfc47c commit 3e9862d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plotting.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ bodeplot
298298
title --> "Bode plot from: u($j)"
299299
label --> "\$G_{$(si)}\$"
300300
linestyle --> styledict[:l]
301-
color --> styledict[:c]
301+
seriescolor --> styledict[:c]
302302
w, magdata
303303
end
304304
plotphase || continue
@@ -312,7 +312,7 @@ bodeplot
312312
xguide --> "Frequency (rad/s)"
313313
label --> "\$G_{$(si)}\$"
314314
linestyle --> styledict[:l]
315-
color --> styledict[:c]
315+
seriescolor --> styledict[:c]
316316
w, unwrap ? ControlSystems.unwrap(phasedata.*(pi/180)).*(180/pi) : phasedata
317317
end
318318

0 commit comments

Comments
 (0)