I am not getting the black white cycle list working. All three graphs are solid black lines. I want them to have different dash patterns though!
\documentclass[11pt, a4paper]{article}
\usepackage{pgfplots}
\begin{document}
\begin{figure} [!htbp]
\centering
\begin{tikzpicture}
\begin{axis}[
width=5in,
xlabel={Time},
ylabel={Displacement},
no markers,
yticklabel style={/pgf/number format/fixed},
cycle list name=black white,
]
\addplot+ table [x=time,y=disp_body,col sep=comma]{tables/data_static.csv};
\addplot+ table [x=time,y=disp_spring,col sep=comma]{tables/data_static.csv};
\addplot+ table [x=time,y=disp_tyre,col sep=comma]{tables/data_static.csv};
\addlegendentry{Car body}
\addlegendentry{Spring}
\addlegendentry{Tyre}
\end{axis}
\end{tikzpicture}
\caption{Determination of static deflections}
\label{fig_static}
\end{figure}
\end{document}


