| 1 |
\documentclass{article} |
| 2 |
\usepackage{pst-ode,pst-plot} |
| 3 |
\usepackage[T1]{fontenc} |
| 4 |
\usepackage[latin1]{inputenc}% |
| 5 |
|
| 6 |
\begin{document} |
| 7 |
\begin{center} |
| 8 |
\psset{unit=3cm} |
| 9 |
\begin{pspicture}(-0.3,-0.4)(.2,1) |
| 10 |
\psset{xAxisLabel=$t$,xAxisLabelPos={c,-6ex},yAxisLabelPos={-3ex,c}} |
| 11 |
\begin{psgraph}[axesstyle=frame,Ox=-1,](0,0)(0,0)(4,1){10cm}{2.5cm} |
| 12 |
\rput(1,0){\psplot[algebraic]{-1}{3}{Euler^(-x^2)}} |
| 13 |
\pstODEsolve[algebraicIC,algebraic]{TY}{(t) 0}{-1}{3}{5}{1/Euler}{-2*t*y[0]} |
| 14 |
\rput(1,0){\listplot[plotstyle=dots,dotsize=0.05,linecolor=red]{TY}} |
| 15 |
\end{psgraph} |
| 16 |
\end{pspicture} |
| 17 |
\end{center} |
| 18 |
\end{document} |