Skip to content

Commit cdad126

Browse files
authored
Update tutorial-plot.md
1 parent 062046c commit cdad126

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/tutorial-plot.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ plot(sol;
133133

134134
## [From Flow](@id tutorial-plot-flow)
135135

136-
The previous solution of the optimal control problem was obtained using the `solve` function. If you prefer using an indirect shooting method and solving shooting equations, you may also want to plot the associated solution. To do this, you need to use the `Flow` function to reconstruct the solution. See the manual on [how to compute flows](@ref manual-flow) for more details. In our case, you must provide the maximizing control $(x, p) \mapsto p_2$ along with the optimal control problem. For an introduction to simple indirect shooting, see the [indirect simple shooting](https://control-toolbox.org/Tutorials.jl/stable/tutorial-iss/) tutorial for an example.
136+
The previous solution of the optimal control problem was obtained using the `solve` function. If you prefer using an indirect shooting method and solving shooting equations, you may also want to plot the associated solution. To do this, you need to use the `Flow` function to reconstruct the solution. See the manual on [how to compute flows](@ref manual-flow) for more details. In our case, you must provide the maximizing control $(x, p) \mapsto p_2$ along with the optimal control problem. For an introduction to simple indirect shooting, see the [indirect simple shooting](https://control-toolbox.org/Tutorials.jl/stable/tutorial-iss.html) tutorial for an example.
137137

138138
!!! tip "Interactions with an optimal control solution"
139139

@@ -240,7 +240,7 @@ plot(t, norm∘u; label="‖u‖", xlabel="t")
240240

241241
## [Normalised time](@id tutorial-plot-time)
242242

243-
We consider a [LQR example](https://control-toolbox.org/Tutorials.jl/stable/tutorial-lqr-basic/) and solve the problem for different values of the final time `tf`. Then, we plot the solutions on the same figure using a normalized time $s = (t - t_0) / (t_f - t_0)$, enabled by the keyword argument `time = :normalize` (or `:normalise`) in the `plot` function.
243+
We consider a [LQR example](https://control-toolbox.org/Tutorials.jl/stable/tutorial-lqr-basic.html) and solve the problem for different values of the final time `tf`. Then, we plot the solutions on the same figure using a normalized time $s = (t - t_0) / (t_f - t_0)$, enabled by the keyword argument `time = :normalize` (or `:normalise`) in the `plot` function.
244244

245245
```@example main
246246
# definition of the problem, parameterised by the final time

0 commit comments

Comments
 (0)