JuliaControl / JuliaControl/ControlSystems.jl

Phase plot in marginplot does not show dashed line at -180 degrees.

Open
#771 1 comment 0 reactions 0 assignees View on GitHub

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:

Captura de tela de 2022-11-14 16-44-31

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.