I created a plot with pgfplots using this snippet of code:

        \begin{semilogxaxis}[ybar stacked,ymajorgrids=true]
            \addplot [red]
                table [x=nodes,y=1]

I got as result the correct plot, but the bars aren't fully colored. Only the borders of this bar are colored of red, instead I would like them fully colored also internally.

  • Ok problem solved...It exists the command fill
    – Mazzy
    Dec 23, 2012 at 18:57
  • 3
    It would be great if you could post an answer to your question and self-accept it
    – Jake
    Dec 23, 2012 at 18:59

1 Answer 1


To fill a stacked bar it needs to add the command fill to \addplot and eventually draw to color the outside borders

You must log in to answer this question.

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