JuliaControl / JuliaControl/ControlSystems.jl

Multiple systems in same plot has inconsistent display

Open
#640 4 comments 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

Have two systems H and H2 to compare. Running

bodeplot([H, H2])

I get a nice plot with legend G1 and G2 so I know which is which. Running

plot(step.([H, H2]))

does not give any. Easy to add in the call, but just felt if there are automatic labels for one one there might as well be for the other to be consistent.

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 by comparing the behavior of bodeplot([H, H2]) with plot(step.([H, H2])), focusing on how automatic legend labels are produced for multiple systems. Trace the plotting entry points used by these calls and identify the existing tests for labels, if present. Done means step plots consistently identify each system, with tests covering the behavior.

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.