JuliaControl / JuliaControl/ControlSystems.jl

Some minor issues in nicholsplot

Open
#79 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Julia
Stars
582
Forks
92
Avg merge
1h 12m
Merged PRs (30d)
2

Description

The Nyquist frequency is half the sampling frequency and not equal to it.

If frequency vector is specified it should perhaps not be truncated at the Nyquist frequency, but rather a point should mark it on the Nichols curve.

The arguments to the plot function are very short, val, sat and pInc doesn't say much about what they are used for. They are only used once in the code, so a longer, more descriptive name would make the code more self documenting for example:
gain_line_hue
gain_line_saturation
or something similar.

I find the unicode characters for real and imaginary parts are hard to read (subjective), would prefer just write Re and Im.

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

Start at the nicholsplot entry point and inspect how the Nyquist frequency, supplied frequency vectors, plot argument names, and real/imaginary labels are handled. Verify the expected Nyquist marker and frequency range, then check the resulting plot output and related tests if available; done means the reported plotting and readability issues are addressed.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.