[pstricks] Calculer distances entre nœuds avec Pstricks

Michael Sharpe msharpe at ucsd.edu
Wed Sep 3 20:05:41 CEST 2008

There's another way that takes advantage of the fact that the radii  
arguments in \psellipticarc are delimited by ( ) so that they may be  
specified using Postscript code.

\AtoB(Q)(P){R}% length of R gives radius
\psellipticarc(Q)(! \psGetNodeCenter{R} R.x R.y Pyth dup){215}{-40}


On Sep 3, 2008, at 9:03 AM, Herbert Voss wrote:

> agodemar schrieb:
>> Thank you for this code above, but I think you understand now that my
>> problem
>> is a little bit more general: I would like to measure things coming
>> from outside
>> using psfrag and pstricks (and fp if necessary).
> there is an easy but not short solution, you have to rewrite
> the existing macros:
> \psArc[options]{arrows}(center)(node B for radius A-B){alpha}{beta}
> [options] and {arrows} are both optional.

More information about the PSTricks mailing list