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.
    – nickpapior
    May 15, 2014 at 7:24
  • May be last part of this answer can help you.
    – Ignasi
    May 15, 2014 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, 2014 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?
    – nickpapior
    May 15, 2014 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, 2014 at 7:44

1 Answer 1


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

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.

Hence, a custom list without any markers has to be defined line by line as well.

  • 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?
    – nickpapior
    May 15, 2014 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, 2014 at 8:31
  • 1
    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. :)
    – nickpapior
    May 15, 2014 at 8:34
  • Ah, I see. Well, yes, I suppose that would work as well. :)
    – henry
    May 15, 2014 at 11:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .