# pgfplots - Is there an equivalent to 'cycle list name=color list' for custom lists?

I defined my own cycle list mycolor, which equals the vanilla color one except for 2-3 different colors and I added two more items to the cycle.

The manual says on page 176:

The cycle list name=color choice also employs markers whereas color list uses only colors.

I was wondering: is color list baked into pgfplots, meaning color list was defined line by line? I would like to use mycolor in an analogical way to color list, but using mycolor list lead to an "unknown list"-type of error.

• Please show us the code that caused problems, that might be it? It shouldn't be a problem to what I think you want. A couple of pages further down from your reference the exact definition of color list and color are shown. – zeroth May 15 '14 at 7:24
• May be last part of this answer can help you. – Ignasi May 15 '14 at 7:29
• @zeroth Oh... it's on page 178. I didn't see that, my bad. If you like, you could provide your comment as an answer with the note that it's defined by hand and... I'll mark it as solved. – henry May 15 '14 at 7:31
• @henry, hmm, it doesn't really matter to me, in my opinion it might be too localized to be helpful to others, so closing it? – zeroth May 15 '14 at 7:34
• @zeroth Huh, closing? I think: If it doesn't matter to you, I'll do it myself? Are you ok with that? – henry May 15 '14 at 7:44

No, since color list was defined as well line by line. See page 178 in the manual, it's in the second blue code snippet.
• Oh, now I understand the question better, I suppose you can just add no markers to not add the markers from custom lists. Or do it individually with \addplot+[no markers], or is this not preferred? – zeroth May 15 '14 at 8:13
• This is clearly not preferred since it's quite cumbersome to do that for every \addplot+. At least I prefer the preamble-way, it's faster. :) But for customizations on a local level, this works as well of course. – henry May 15 '14 at 8:31
• I meant no markers in the \begin{axis}[no markers] for the generic case. I would do \pgfplotsset{my color list/.style={cycle list name=my color,no markers},my color/.style={cycle list name=my color}} and you're done. :) – zeroth May 15 '14 at 8:34