From b8ff3abffd353bbb67365864f1abdf3c9ff91fa1 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Thu, 17 Aug 2017 21:17:38 +0000
Subject: pst-ode (17aug17)

git-svn-id: svn://tug.org/texlive/trunk@45057 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/doc/generic/pst-ode/examples/ode.tex | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 Master/texmf-dist/doc/generic/pst-ode/examples/ode.tex

(limited to 'Master/texmf-dist/doc/generic/pst-ode/examples/ode.tex')

diff --git a/Master/texmf-dist/doc/generic/pst-ode/examples/ode.tex b/Master/texmf-dist/doc/generic/pst-ode/examples/ode.tex
new file mode 100644
index 00000000000..fdf6b670e07
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/pst-ode/examples/ode.tex
@@ -0,0 +1,18 @@
+\documentclass{article}
+\usepackage{pst-ode,pst-plot}
+\usepackage[T1]{fontenc}
+\usepackage[latin1]{inputenc}%
+
+\begin{document}
+\begin{center}
+\psset{unit=3cm}
+\begin{pspicture}(-0.3,-0.4)(.2,1)
+  \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]}
+  \rput(1,0){\listplot[plotstyle=dots,dotsize=0.05,linecolor=red]{TY}}
+  \end{psgraph}
+\end{pspicture}
+\end{center}
+\end{document}
-- 
cgit v1.2.3

