[pstricks] concatenate \psplotDiffEqn, continue integration of ODEs

Herbert Voss Herbert.Voss at FU-Berlin.DE
Wed Jun 3 09:22:52 CEST 2009


Alexander Grahn schrieb:
> On Tue, Jun 02, 2009 at 07:28:58PM +0200, Dominique RODRIGUEZ wrote:
>> Bonjour,
>>
>>>  is it possible to continue the integration of a set of differential
>>>  equations by repated calls to \psplotDiffEqn? That is, to use the last
>>>  solution vector of a \psplotDiffEqn call as the initial conditions for
>>>  the next call?
>> Currently, it is not possible, but this is a good suggestion !
>> I put it in the TODO list.

until then you can use the file export:
pstricks-add knows

\define at key[psset]{pstricks-add}{filename}{\def\psk at filename{#1}}
\define at boolkey[psset]{pstricks-add}[Pst@]{saveData}[true]{}
\psset[pstricks-add]{saveData=false,filename=PSTdata}

You can write the values into an external file and use
the values for a next run of \pstDiffEqn.

Herbert


More information about the PSTricks mailing list