summaryrefslogtreecommitdiff
path: root/graphics/pstricks/contrib/pst-ode/examples/ode.tex
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pstricks/contrib/pst-ode/examples/ode.tex')
-rw-r--r--graphics/pstricks/contrib/pst-ode/examples/ode.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/pstricks/contrib/pst-ode/examples/ode.tex b/graphics/pstricks/contrib/pst-ode/examples/ode.tex
index fdf6b670e0..2d2f52aa27 100644
--- a/graphics/pstricks/contrib/pst-ode/examples/ode.tex
+++ b/graphics/pstricks/contrib/pst-ode/examples/ode.tex
@@ -10,7 +10,7 @@
\psset{xAxisLabel=$t$,xAxisLabelPos={c,-6ex},yAxisLabelPos={-3ex,c}}
\begin{psgraph}[axesstyle=frame,Ox=-1,](0,0)(0,0)(4,1){10cm}{2.5cm}
\rput(1,0){\psplot[algebraic]{-1}{3}{Euler^(-x^2)}}
- \pstODEsolve[algebraicIC,algebraic]{TY}{(t) 0}{-1}{3}{5}{1/Euler}{-2*t*y[0]}
+ \pstODEsolve[rk4,algebraicIC,algebraic]{TY}{(t) 0}{-1}{3}{7}{1/Euler}{-2*t*y[0]}
\rput(1,0){\listplot[plotstyle=dots,dotsize=0.05,linecolor=red]{TY}}
\end{psgraph}
\end{pspicture}