[pstricks] Electric field lines sometimes get plotted improperly

Donut E. Knot the.counterterrorist at yahoo.com
Thu Feb 6 16:14:58 CET 2014


Dear PSTricks maintainers, especially for the pst-electricfield package.

I noticed for the following case, the electric field lines get plotted improperly, maybe because of the singularities.

\documentclass[pstricks,border=12pt,12pt]{standalone}
\usepackage{pst-electricfield}

\begin{document}
\begin{pspicture*}[linejoin=2](-4,-4)(4,4)
\psElectricfield[Q={[-1 3 135 PtoC][1 1 1][1 -1 -1]},linecolor=red]
\end{pspicture*}
\begin{pspicture*}[linejoin=2](-4,-4)(4,4)
\psElectricfield[Q={[-1 3 -45 PtoC][1 1 1][1 -1 -1]},linecolor=blue]
\end{pspicture*}
\end{document}

Is there any simple method to make it look much better?

Thank you in advance.

best regards,

Code Mocker
(http://tex.stackexchange.com/users/19356)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20140206/4a1880ea/attachment.html>


More information about the PSTricks mailing list