Dear Christian,

Thanks for the prompt reply.

Joel



________________________________
 From: "[email protected]" <[email protected]>
To: Joel <[email protected]> 
Cc: [email protected] 
Sent: Monday, 21 November 2011, 1:32
Subject: Re: Bar plots cycle list
 

Dear Joel,

the reason why your code fragment did not work as expected is a slight 
misunderstanding: everytime you use a key followed by  /.style, you define a 
NEW named key. Typically, such a newly defined key is ignored by pgfplots 
unless it happens to be one of the predefined styles.

In your case, you have defined a  new key called 'bar cycle list'. The solution 
to your question is to use

...
\begin{axis}[bar cycle list]
...

or, alternatively, to use the definition

\pgfplotsset{
ybar,
%/pgfplots/bar cycle list/.style={
/pgfplots/cycle list={
{black,fill=gray,mark=none},
{black,fill=gray,mark=none},
{black,fill=gray,mark=none},
},
%},
}

This latter definition is more-or-less equivalent to the approach from 
stackexchange.

Best regards

Christian
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Pgfplots-features mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pgfplots-features

Reply via email to