JuliaControl / JuliaControl/ControlSystems.jl
Phase plot in marginplot does not show dashed line at -180 degrees.
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 582
- Forks
- 92
- Avg merge
- 1h 12m
- Merged PRs (30d)
- 2
Description
Version: ControlSystems v1.5.1
using ControlSystems
using Plots
y2 = tf(
[1],
[1,13,40,0]
)
marginplot(y2,
xticks=exp10.(-2:0.5:4),
)
the output of the code above is as follows:

In the magnitude graph, a dashed line at 0 is shown. In the phase graph, a dashed line at -180 degrees is not shown.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the missing phase reference line with the Julia marginplot example from the issue, using ControlSystems v1.5.1 and Plots. Trace the marginplot phase rendering and ensure the -180-degree dashed line is displayed consistently with the magnitude graph; the reproduced plot should show that line.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100