Skip to content

Commit 34d145f

Browse files
authored
Merge pull request #273 from JuliaControl/plotfixes
Plotfixes
2 parents bfadc8f + dd3a077 commit 34d145f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/plotting.jl

Lines changed: 5 additions & 5 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

@@ -730,15 +730,15 @@ pzmap
730730
z,p,k = zpkdata(system)
731731
if !isempty(z[1])
732732
@series begin
733-
markershape := :c
733+
markershape --> :c
734734
markersize --> 15.
735735
markeralpha --> 0.5
736736
real(z[1]),imag(z[1])
737737
end
738738
end
739739
if !isempty(p[1])
740740
@series begin
741-
markershape := :x
741+
markershape --> :x
742742
markersize := 15.
743743
real(p[1]),imag(p[1])
744744
end
@@ -749,7 +749,7 @@ pzmap
749749
S,C = sin.(v),cos.(v)
750750
@series begin
751751
linestyle --> :dash
752-
c := :black
752+
linecolor := :black
753753
grid --> true
754754
C,S
755755
end

0 commit comments

Comments
 (0)