# Draw non-uniform B-spline in Latex

I would like to draw the couple of spline curves in Latex. Is there anything I could use in tikz or other packages such that I could draw a spline curve by simply providing the control points value and knots vector?

• I know about nothing on splines, but you might take a look at the pstricks pst-bspline package. – Bernard Oct 7 '15 at 22:52
• If you tell us what one is, somebody can probably help you draw one. But a minimal example of what you've got so far would be much better. Especially if you need TikZ because this is part of a larger figure, say. Otherwise, why the obsession with TikZ? Enquiring minds need to know! – cfr Oct 7 '15 at 23:10
• my guess is that NURBS are not supported by the postscript language (and the pdf counterpart) and does exist neither in Tikz nor in pstricks. – pluton Oct 8 '15 at 0:40
• You may find this article useful: Howto: Draw algebraic curves using PGF/TikZ. – OSjerick Oct 8 '15 at 0:54
• With TikZ or PSTricks, you can draw cubic Bézier curves... – Paul Gaborit Oct 8 '15 at 5:22

\begin{tikzpicture}