Graphics, Figures & Tables ⇒ Bezier Curve
Bezier Curve
I looked in the latex-community website about the pst-bezier package to draw bezier curve. I downloaded and I tried to follow the following example from the pdf file http://www.tex.ac.uk/tex-archive/graphi ... er-doc.pdf
1 \documentclass{minimal}
2 \usepackage{pstricks}
3 \usepackage{pst-bezier}
4 \begin{document}
5 \begin{pspicture}(6,4)
6 \psbcurve(1,2)(5,2) % Draw just one straight line.
7 \end{pspicture}
8 \end{document}
But I got the following error:
! undefined control sequence.
<recently read> \c@lo@to@ps
\end
{pspicture}
?
Can you help me to see where is the problem?
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: Bezier Curve
Re: Bezier Curve
Did you get a pdf with the curve? I tried to texify it to get PdF and that error occurs. When I texify it to get DVI, it works fine, so I wonder how to use it in my document?
Regards,
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Bezier Curve
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10