Closed hvoss49 closed 3 years ago
Using the macro \parametricplot leads to wrong coordinates. The third and first example should be the same!
\parametricplot
\RequirePackage{pdfmanagement-testphase} \DeclareDocumentMetadata{} \documentclass{article} \usepackage{pst-node,pst-plot} \pagestyle{empty} \setlength{\parindent}{0pt} \begin{document} \begin{pspicture}[showgrid=b](-2,-2)(2,2) \def\N{9 }% \degrees[\N] \curvepnodes[plotpoints=\numexpr\N+1]{0}{\N AnytoDeg}{t dup cos exch sin}{P} \psnpolygon(0,\numexpr\Pnodecount-1){P} \foreach \i in {0,1,...,\numexpr\Pnodecount-1}{% \uput{6pt}[\i]{!\i\space 90 DegtoAny sub}(P\i){\psline{->}(0,12pt)}} \end{pspicture} \begin{pspicture}[showgrid](-.5,-.5)(2.5,3) \psparametricplot[algebraic]{0}{1}{ t+t^2 | 2*Ex(-t)} \end{pspicture} \begin{pspicture}[showgrid=b](-2,-2)(2,2) \def\N{9 }% \degrees[\N] \curvepnodes[plotpoints=\numexpr\N+1]{0}{\N AnytoDeg}{t dup cos exch sin}{P} \psnpolygon(0,\numexpr\Pnodecount-1){P} \foreach \i in {0,1,...,\numexpr\Pnodecount-1}{% \uput{6pt}[\i]{!\i\space 90 DegtoAny sub}(P\i){\psline{->}(0,12pt)}} \end{pspicture} \end{document}
I fixed it ...
Using the macro
\parametricplot
leads to wrong coordinates. The third and first example should be the same!