12

Drawing Smooth Curves

In the first few chapters of this book, you learned about the TikZ tools for drawing lines, arrows, and shapes such as rectangles, circles, ellipses, and arcs. Now that you have advanced your TikZ skills, you are ready to tackle even more complex curves.

In this chapter, we will go through the following steps:

  • Manually creating a smooth curve through chosen points
  • Using a smooth plot to connect points
  • Specifying cubic Bézier curves
  • Using Bézier splines to connect given points
  • Using the Hobby algorithm for smoothly connecting points

As we explore each method, we will compare the results of different methods with the same reference curve so you can see how different techniques affect the outcome. This chapter focuses ...

Get LaTeX Graphics with TikZ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.