[pstricks] Saving and Reusing x-coordinate alone?

In-Sung Cho ischo2k at gmail.com
Wed Mar 21 13:00:36 CET 2007


Can we extract one coordinate, say the x-coordinate, alone from (x,y)
or (x,y,z)?

For example:
\psIntersectionPoint(-5,-1)(5,5)(-5,3)(!2 sqrt 5){IP}

I am looking for some way or trick to save the x-coordinate of (IP)
and reuse it like \psdot(x-coordinate of A, 1) or print its value.

And what about in the case of the three-dimensional coordinates?

In-Sung Cho

More information about the PSTricks mailing list