Skip to content

provide signal names to SimResult plot #991

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

baggepinnen
Copy link
Member

using Plots
A = [-10 2; 3 -40]
B = [5 6; 7 8]
C = [9 10; 11 12]
G = ss(A, B, C, 0)
step_response = step(G, 10.0)
plot(step_response, title="", xlabel="Time (s)", lw=2, legend=:topright, input_names=["a", "b"], output_names=["c", "d"])

image

@JuliaControlBot
Copy link

This is an automated message.
Plots were compared to references. 1/11 images have changed, see differences below.
After pulling this PR, please update the reference images by creating a PR to ControlExamplePlots.jl here.

Difference Reference Image New Image
✔️ 0.008 Reference New

Copy link

codecov bot commented May 8, 2025

Codecov Report

Attention: Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 92.44%. Comparing base (8b43e08) to head (de72455).

Files with missing lines Patch % Lines
lib/ControlSystemsBase/src/plotting.jl 80.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #991   +/-   ##
=======================================
  Coverage   92.44%   92.44%           
=======================================
  Files          41       41           
  Lines        5006     5006           
=======================================
  Hits         4628     4628           
  Misses        378      378           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants