1

I need to show the auxiliary points of any curves defined in pscustom such that I can easily locate the points during the development process.

The following MWE is my attempt to show such points, but fails.

\documentclass[pstricks,margin=1cm,preview]{standalone}

\begin{document}
\begin{pspicture}[showgrid](-6,-6)(6,6)
    \pscustom[showpoints=true]
    {
        \psline(-4,-4)(-4,4)(4,4)(4,-4)
        \closepath
    }
\end{pspicture}
\end{document}

enter image description here

1
\documentclass[pstricks,margin=1cm,preview]{standalone}

\begin{document}
    \begin{pspicture}[showgrid](-6,-6)(6,6)
    \pscustom{\psbezier[showpoints](-4,-4)(-4,4)(4,4)(4,-4)}
    \end{pspicture}
\end{document}

enter image description here

  • I suppose you mean dots. Right? A line is a line, there are no auciliary points. If you want to see the dots use the coordinates also outside \pscustom: \psdots(-4,-4)(-4,4)(4,4)(4,-4) – user2478 Sep 29 '16 at 18:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.