[pstricks] a problem with \psplotDiffEqn

Andrzej J. Maciejewski andrzej.j.maciejewski at gmail.com
Thu Mar 15 07:35:13 CET 2007


Herbert,
in fact
\psplotDiffEqn[arrows=->,ArrowInside=->,arrowscale=2]{0}{8}{4}{\Func}
gives one arrow in each line joining two points. The problem appear when I
want to optain a smooth curve and put e.g. plotpoints=100, then my curve
consists of arrows only.
If there is no a direct way I will try to find a solution in a different
way.
-Andrzej
On 3/15/07, Herbert Voss <LaTeX at zedat.fu-berlin.de> wrote:
>
> Andrzej J. Maciejewski schrieb:
> > in your example arrows=-> makes arrows, i.e.,
> > \psplotDiffEqn[ArrowInside=->]{0}{8}{4}{\Func}
> > does not give any arrows (at least in on my computer)
> > I generate many points  solving given equation. Having a curve along
> > them I
> > like to put few arrows on it. In a meantime I have checked that
> > ArrowInside
> > works for psline but \pscurve[ArrowInside=->](0,0)(4,2)(3,1) does not
> > give
> > arrows on curve.  Does it mean that
> > ArrowInside shoud be used only with \psline?
>
> Andrzej,
> attached the png, what I get with this example:
>
> \documentclass{article}
> \usepackage{pstricks-add}
> \begin{document}
> %
> \def\Func{ neg }
> %
> \psset{method=rk4,plotpoints=10,linecolor=blue,linewidth=0.5pt}
> \begin{pspicture}[showgrid=true](0,-0.5)(8,4)
> \psplotDiffEqn[arrows=->,ArrowInside=->,arrowscale=2]{0}{8}{4}{\Func}
> \end{pspicture}
>
> \end{document}
>
>
> Herbert
>
> _______________________________________________
> pstricks mailing list
> pstricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
>
>
>


-- 
Andrzej J. Maciejewski                       Institute of Astronomy
tel. +48 68 328 30 21                        University of Zielona Góra
fax. +48 68 328 73 60                       Podgórna 50, 65-246 Zielona Góra
http://astro.ia.uz.zgora.pl/~maciejka/    POLAND
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20070315/81db0fb2/attachment.html 


More information about the PSTricks mailing list