[pstricks] pst-circ phaseshifter

Herbert Voss Herbert.Voss at FU-Berlin.DE
Wed May 21 08:04:04 CEST 2014


Am 20.05.2014 19:34, schrieb Doris Behrendt:

> is there an option to change the direction of the arrow for the command \phaseshifter in pst-circ?


\makeatletter
\def\pst at draw@phaseshifter{%
    \pnode(-0.4,0){dipole at 1}
    \pnode(0.4,0){dipole at 2}
    \pscircle[linewidth=1.5\pslinewidth](0,0){0.4}

\psline[fillstyle=none,linewidth=1.5\pslinewidth,arrowinset=0]{<-}(-0.5,-0.5)(0.5,0.5)
}
\makeatother
\begin{pspicture}(3,2)
\pnode(0,1){A1} \pnode(3,1){A2}
\phaseshifter(A1)(A2){}
\end{pspicture}


has another arrow direction

Herbert





More information about the PSTricks mailing list