@@ -81,11 +81,10 @@ Optional parameters can be passed to the ``solve()`` method to control the behav
8181Visualizing solutions
8282---------------------
8383
84- OTP has built-in plotting capabilities for visualizing the computed
84+ `` OTP `` has built-in plotting capabilities for visualizing the computed
8585solution. The ``plot() `` method can be used to plot the solution
8686trajectory. The ``plotPhaseSpace() `` method creates a phase-space
87- diagram by visualizing all spatial-components of the state vector. OTP
88- also supports animations for the computed solution.
87+ diagram by visualizing all spatial-components of the state vector.
8988
9089.. code :: matlab
9190
@@ -95,15 +94,22 @@ also supports animations for the computed solution.
9594 % Plot the Phase-Space solution
9695 problem.plotPhaseSpace(sol);
9796
97+ .. image :: ../images/Lorenz-solution-plot.png
98+ :width: 200
99+ .. image :: ../images/Lorenz-Phase-plot.png
100+ :width: 200
101+
102+ ``OTP `` also supports animations for the computed solution:
103+
104+ .. code :: matlab
105+
98106 % Create a movie of the solution
99107 problem.movie(sol);
100108
101109 .. video :: ../_static/Lorenz-Original-Canonical.webm
102110 :loop:
103111 :width: 200
104112
105-
106-
107113Changing the parameters
108114------------------------
109115You can change the parameters of the problem by modifying the
@@ -137,7 +143,7 @@ following code:
137143 odeset('Jacobian', problem.RHS.Jacobian));
138144 This is particularly useful when you want to compare the performance of different solvers on the same problem.
139145
140- Next Steps
146+ Next steps
141147------------------------
142148Explore different problems available in OTP by browsing the Problems Gallery in the sidebar. You can define your custom
143149problems by creating a new class that inherits from the ``otp.Problem `` class.
0 commit comments