Is it possible to combine two cycle lists? That is, is it possible to apply simultaneously several cycle lists to a common plot without the last list overriding the others (that is, getting a behaviour not unlike the /.style append commands)?
For instance, I have a first list of markers and a second of colours:
\documentclass{article}
\begin{document}
\pgfplotscreateplotcyclelist{list1}{%
{},
{mark=x},
{mark=+}}
\pgfplotscreateplotcyclelist{list2}{%
{color=red},
{color=blue},
{color=green}}
\begin{tikzpicture}
\begin{axis}
% Mising commands before plot 1
\addplot {x}; % should be red and have no marker
\addplot {x+1}; % should be blue and have `x' marker
\addplot {x+2}; % should be green and have `+' marker
% plot 2
\pgfplotsset{cycle list name=list1}
\addplot {2*x}; % is red and has default marker
\addplot {2*x+1}; % is blue and has default marker
\addplot {2*x+2}; % is green and has default marker
% plot 3
\pgfplotsset{cycle list name=list2}
\addplot {-x}; % is default colour and has no marker
\addplot {-x+1}; % is default colour and has `x' marker
\addplot {-x+2}; % is default colour and has `+' marker
\end{axis}
\end{tikzpicture}
\end{document}
I want to use sometimes only the markers, sometimes only the colours and sometimes both simultaneously.
This is different from cycle multi list which increment first the last list and then the first at each reset of the second.
For sure, I can create a third list to manually combine list1 and list2 but I am wondering if that can be achieved more efficiently?
Such a feature would come in handy when having using list for several features (colour, marker, line style etc.) in a long document and using them in various combinations. In this case, writing all the combinations is cumbersome and changing, say, one colour means tracking it done in every combinations.
\documentclassand the appropriate packages so that those trying to help don't have to recreate it. That way those trying to help can focus on solution as opposed to setting up the problem test case. – Peter Grill Feb 28 '12 at 17:14