Tag Info

New answers tagged

1

The pgfplots manual has an example showing how to have two ordinates with a normal axis, and basically the same technique can be used with groupplots. Some key points: Add two groupplots environments in the same tikzpicture. Set the same xmin and xmax for all axes. Add scale only axis so that scaling options apply just to the axes, and not labels etc. In ...


1

Regarding your first question, you can set the bar width after the \begin{group plot} by specifying /pgf/bar width=2pt. Regarding your second question, you need to replace your \addplot[...] commands with \addplot+[...] (add the + sign). With \addplot+[...], options within the brackets are added to the currently set options in the groupplot style, without ...



Top 50 recent answers are included