5

I can use something like \pgfplotsset{every axis/.append style={line width=1pt}} to make all lines 1pt thick, but I would like to make only the plot lines thicker. I can do this on a per-plot-basis with \addplot [thick] ..., but how can I set it for all plots?

1 Answer 1

7

I found this non-obvious to find out, but there is a plot "type" or whatever the name is, which means, this will work:

\begin{tikzpicture}[every plot/.append style={very thick}]

Or

\begin{tikzpicture}[every axis plot/.append style={very thick}] 

Or

\pgfplotsset{every axis plot/.append style={very thick}}

Make sure to also use "every axis plot" in the \pgfplotsset in order to work properly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.