I want to plot several curves with a \foreach command in pgfplots. I don't want any markers, and I can't find a way to get colored plots without markers in a \foreach loop. Using no markers gets rid of markers and colors.
\documentclass[12pt]{article}
\usepackage{pgfplots}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\foreach \pas in {1,2,...,10}
{
\addplot[mark=none] expression {\pas*\x};
}
\end{axis}
\end{tikzpicture}
\end{document}