Example: Bar plot

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

Bar plots place horizontal or vertical bars at coordinates. Multiple bar plots in one axis can be stacked on top of each other or aligned next to each other.

The code is from the PGFPlots 1.10 manual: “4.5.4 Bar Plots”.

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

Bar 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.

    legend style={at={(0.5,-0.15)},
      anchor=north,legend columns=-1},
    symbolic x coords={tool8,tool9,tool10},
    nodes near coords,
    nodes near coords align={vertical},
\addplot coordinates {(tool8,7) (tool9,9) (tool10,4)};
\addplot coordinates {(tool8,4) (tool9,4) (tool10,4)};
\addplot coordinates {(tool8,1) (tool9,1) (tool10,1)};
\legend{used,understood,not understood}


Adding comments is currently not enabled.