Skip to content

Commit dd3a077

Browse files
authored
Merge branch 'master' into plotfixes
2 parents 5abd564 + bfadc8f commit dd3a077

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name = "ControlSystems"
22
uuid = "a6e380b2-a6ca-5380-bf3e-84a91bcd477e"
33
authors = ["Dept. Automatic Control, Lund University"]
44
repo = "https://github.com/JuliaControl/ControlSystems.jl.git"
5-
version = "0.5.6"
5+
version = "0.5.7"
66

77
[deps]
88
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
@@ -20,7 +20,7 @@ SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
2020
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
2121

2222
[compat]
23-
Colors = "0.9.2, 0.10, 0.11"
23+
Colors = "0.9.2, 0.10, 0.11, 0.12"
2424
DSP = "0.6.1"
2525
DelayDiffEq = "5.6"
2626
IterTools = "1.0"

src/plotting.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ end
255255
"""`fig = bodeplot(sys, args...)`, `bodeplot(LTISystem[sys1, sys2...], args...; plotphase=true, kwargs...)`
256256
257257
Create a Bode plot of the `LTISystem`(s). A frequency vector `w` can be
258-
optionally provided.
258+
optionally provided. To change the Magnitude scale see `setPlotScale(str)`
259259
260260
`kwargs` is sent as argument to Plots.plot."""
261261
bodeplot
@@ -270,7 +270,7 @@ bodeplot
270270

271271
for (si,s) = enumerate(systems)
272272
mag, phase = bode(s, w)[1:2]
273-
if _PlotScale == "dB"
273+
if _PlotScale == "dB" # Set by setPlotScale(str) globally
274274
mag = 20*log10.(mag)
275275
end
276276

0 commit comments

Comments
 (0)