Example: Smooth plot

Published 2014-03-15 | Author: Christian Feuersänger

Constant plots draw lines parallel to the x-axis to connect coordinates. The discontinuous edges may be drawn or not, and marks may be placed on left or right ends.

The code is from the PGFPlots 1.10 manual: “4.5.2 Smooth Plots”.

Download as: [PDF] [TEX]  •  [Open in Overleaf]

Smooth plot

Do you have a question regarding this example, TikZ or LaTeX in general? Just ask in the LaTeX Forum.
Oder frag auf Deutsch auf TeXwelt.de.

    \addplot+[smooth] coordinates
      {(0,0) (1,2) (2,3)};


Adding comments is currently not enabled.