Assume that you have the ode system x'=xy-y, y'=xy-x
How would one use pst-ode.sty to draw trajectories and vectorfield, say in the t-y plane?
Assume that you have the ode system x'=xy-y, y'=xy-x
How would one use pst-ode.sty to draw trajectories and vectorfield, say in the t-y plane?
\documentclass{article}
\usepackage{pst-ode,pst-plot}
\begin{document}
\psset{xAxisLabel=$t$,xAxisLabelPos={c,-6ex},yAxisLabelPos={-3ex,c}}
\begin{psgraph}(0,0)(0,0)(-10,1){10cm}{2.5cm}
\pstODEsolve[algebraic]{TY}{0 1}{0.1}{4.5}{100}{0 0.1}{
x[0]*x[1]-x[1] | x[0]*x[1]-x[0]
}
\listplot{TY}
\end{psgraph}
\end{document}
I have no idea what parameter you have for x'(0) and y'(0)