[pstricks] nodes and plot

Christophe Jorssen jorssen.leraincy at free.fr
Thu Jan 22 14:15:14 CET 2004



> > I'd like to know if you know a quick hack to put a node at every points
> > computed by pst-plot to plot functions, particularly with
\parametricplot.
>
> you can write the xy-values into a temporary file
> - inside \def\parametricplot at i#1#2#3{% -
> and then read this again and build all data records as
> nodes.

Thanks Herbert, but I don't think it works since xy couples are computed at
the PS level by

    \addto at pscode{%
      \psplot at init
      /t #1 def
      /t1 #2 def
      /dt t1 t sub \psk at plotpoints div def
      /xy {
        #3
        \pst at number\psyunit mul exch
        \pst at number\psxunit mul exch
      } def}%

and with the repeat loop in \parametricplot at ii

What I'd like to do is duplicate the xy couple on the stack, let
parametricplot draw whatever it wants for this value of t, then declare a
node, then go to the next value of t.

Best regards

Christophe




More information about the PSTricks mailing list