[pstricks] Controlling arrowhead linewidth
Martin Chicoine
martin.chicoine at umontreal.ca
Wed Oct 4 17:00:41 CEST 2006
Maybe I'm asking too much but here it goes.
Would it be possible that the open dots keep a constant outside diameter
(the same as a closed dot), regardless of the arrowLW thickness. The reason
I'm asking that is that you plot something like
\pslot[arrows=*-o,arrowLW=.5pt]{-2}{2}{sin(x)},
you want the end dots to have the same diameter.
Martin
>Ok, I found that the second "true" must be changed to "false" in last line
:
>
>\makeatletter
>\define at key[psset]{}{arrowLW}{\pst at getlength{#1}\psk at arrowLW}
>\psset{arrowLW=0}
>\def\psas at o{\psk at arrowLW\space dup 0 eq { pop }{ SLW } ifelse
> {\pst at usecolor\psfillcolor true} false \psk at dotsize \tx at EndDot
>}\makeatother
More information about the PSTricks
mailing list