Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
pyMOR
pymor
Commits
1e1bf9f8
Commit
1e1bf9f8
authored
Jan 14, 2023
by
mohamedadelnaguib
Browse files
Changes to the LTI tutorial as mentioned in the review
parent
ef2969e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/source/tutorial_lti_systems.md
View file @
1e1bf9f8
...
...
@@ -331,21 +331,16 @@ fig, axs = plt.subplots(6, 2, figsize=(8, 10), sharex=True, constrained_layout=T
_ = fom.transfer_
function.bode_plot(w, ax=axs)
```
In the Bode plot visualization, you can choose a specific one or more input-output pair
to display its plot by setting values for both the optional arguments `input_indices` and/or
`output_indices`. In case you did not pass values for both of these arguments, a
plot with all possible input-output paris will be displayed.
To restrict which inputs and outputs are plotted by `bode_plot`,
its parameters `input_indices` and `output_indices` can be used.
The following restricts the plot to the second input {math}`u_2` and the first output {math}`y_1`.
```
{code-cell}
fig, axs = plt.subplots(2, 1, figsize=(8, 10), sharex=True, constrained_layout=True)
_ = fom.transfer_
function.bode_plot(w, ax=axs, input_indices=[1], output_indices=[0])
```
As a result of the above function call, a plot that shows the relation between the second
input {math}`u_2` and first output {math}`y_1`.
P.S. In the case of input-output selection and passing a custom axis, make sure to pass
it an appropriate axis shape that matches your selection.
Note the change in the `axs` shape compared to the first call to `bode_plot`.
## System poles
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment