Skip to content
New issue

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

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

Already on GitHub? # to your account

ENH: Supply a list of systems for time domain plotting #67

Merged
merged 4 commits into from
Nov 3, 2020

Conversation

ilayn
Copy link
Owner

@ilayn ilayn commented Nov 3, 2020

This is slightly more convenient for plotting all systems at once. Still cuts to the shortest response if no time array is given to avoid excessive sampling. I don't remember what matlab or octave was doing. I also don't know what to do with legends and leave it to user via kwargs. So

G = random_state_model(6, 3, 2)
F = random_state_model(6, 2, 3)
H = Transfer(100, [1, 100, 100])
J = discretize(G, 0.1)
step_response_plot([F, G, H, J])

gives

image

impulse response is also similar.

Note: tox stuff is still broken, add root-locus and that makes v1.0.2 (finally!).

@ilayn ilayn merged commit 90a785b into master Nov 3, 2020
@ilayn ilayn deleted the timedomain_multiG branch November 3, 2020 00:24
@ilayn ilayn added this to the v1.0.2 milestone Nov 3, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant