Skip to content

Singular values plot not changing colors for list of systems #1134

Description

@murrayrm

When the singular values plot is generated for a list of systems, the colors of the lines should be different for each system. This doesn't seem to be happening.

Example:

import control as ct
sys1 = ct.rss(4, 2, 2, strictly_proper=True)
sys2 = ct.rss(4, 2, 2, strictly_proper=True)
ct.singular_values_plot([sys1, sys2])

generates

Image

The following code works correctly in terms of colors:

ct.singular_values_plot(sys1)
ct.singular_values_plot(sys2)

Image

Note that the range of frequencies is different for each system, which is the reason you want to be able to call them as a list.

Activity

  1. self-assigned this
    on Mar 2, 2025
  2. added this to the 0.10.2 milestone on Mar 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions