<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Herbert,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Many thanks for your reply.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I appreciate the power of using nodes implicitly in
the manner you illustrate.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>However, I am still wondering how to recover the
original x, y coordinates from the node name.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Surely, PSTricks stores the data that defines nodes
in a form that is accessible to the programme?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Say I wanted to calculate the distance between node
A and node B, how could that be done only using the nodes names
implicitly?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>pnodes are the simplest example. The question
is more complex where other types of nodes are involved in which it would also
be interesting to determine the width and height of the node based on the node's
name.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I have been spending a lot of time playing about
with nodes. There are various parameters the use of which is
unclear. For example, there is Xnodesep and Ynodesep.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>One would assume that Xnodesep defines the x
displacement from a node whilst Ynodesep determines the y displacement from the
node. However, this does not appear to be the reality, especially
regarding Ynodesep!</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>There is an interesting example at<BR><A
href="http://tug.org/mailman/htdig/pstricks/1998/000132.html">http://tug.org/mailman/htdig/pstricks/1998/000132.html</A></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Denis Girou has defined the x and y displacements
as
follows:<BR>\makeatletter<BR>\def\psset@Rx#1{\psset@XnodesepA{#1}}<BR>\def\psset@Ry#1{\psset@offsetA{#1}}<BR>\makeatother</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>His example works as described.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>However, if the definition of Ry is changed
to:<BR>\def\psset@Ry#1{\psset@YnodesepA{#1}}<BR>a different result is
obtained.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>For the cyan line, the resulting vertical
displacement relative to B is 0 whereas one would expect it to be -2<BR>So, the
question arises as to what exactly YnodesepA does and why it appears to behave
in a different manner to XnodesepA?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Is there any documentation available that explains
the exact functionality of these parameters?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Douglas</FONT></DIV></BODY></HTML>