[pstricks] drawing field lines
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Mon Aug 16 21:30:33 CEST 2010
Am 16.08.2010 19:04, schrieb Doris Behrendt:
> I tried it, but it looks not the right way in case of not equally large
> charges:
>
> \psElectricfield[%
> 10 Q={[-1 3 0][2 3 0]},linecolor=red,posArrow=0,points=2000,Pas=0.025]
>
>
> ??? the lines leaving the charges are not equidistant
choose for one charge 0 lines. In this case for the first one:
\documentclass{article}
\usepackage{pst-electricfield}
\pagestyle{empty}
\begin{document}
\begin{pspicture*}(-5,-5)(5,5)
\psElectricfield[Q={[-1 -1 0 0 ][ 2 1 0]},linecolor=red,
posArrow=0,points=2000,Pas=0.025]
\end{pspicture*}
\end{document}
Herbert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xx.png
Type: image/png
Size: 5906 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20100816/b18f6832/attachment.png>
More information about the PSTricks
mailing list