I tried to compile the example in How to combine fill and pattern in a pgfplot bar plot? to answer the question here PGFplots ybar patterns not showing and the pattern doesn't appear when I use lualatex xelatex or pdflatex; it only works with latex+dvipdf. I have PGF 2.10 and PGFplots 1.8. Is there any known bug and workaround here?
I tried this code:
\documentclass[12pt]{article}
\usepackage{pgfplots}
\usepackage{tikz}
\usetikzlibrary{patterns}
\begin{document}
\begin{tikzpicture}
\begin{axis}[ybar, samples=10, enlarge y limits=upper, ymin=0]
\addplot +[
black,
fill=yellow,
postaction={
pattern=north east lines
}
]{rnd};
\end{axis}
\end{tikzpicture}
\end{document}
The result with pdflatex:

The result with latex+dvipdf:

The only warning that appears is
Package pgfplots Warning: running in backwards compatibility mode (unsuitable t
ick labels; missing features). Consider writing \pgfplotsset{compat=1.8} into y
our preamble.
By the way, I am not sure, but in one of my tests, it seemed that if I had only none bar, it worked.
pdflatexshould have worked; it is supposed to be the best-supported driver. – Christian Feuersänger May 31 '13 at 20:17pdflatexbut it failed. Then I triedlatex+dvipdfand to my surprise, it worked! Bothxelatexandlualatexwere tried after, with the same result aspdflatex. – cacamailg May 31 '13 at 21:21\usepackage{tikz}line removed? You don't have to load tikz as pgfplots load it automatically but maybe something is overwritten. – percusse Jun 01 '13 at 23:33pdflatexand see if it compiles fine? Maybe the "bug" only affects me. – cacamailg Jun 03 '13 at 12:38latex+dvipdfand wait for the new release of TeXLive 2013. – cacamailg Jun 03 '13 at 13:07{Luq,Xe,PDF}LaTeXall render correctly. ButLatex->dvi->PDFfails. – percusse Jun 03 '13 at 19:42Latex->dvi->PDF, because with me it is the only one that works :). I assume that probably it is fixed with TikZ CVS. – cacamailg Jun 03 '13 at 20:51\usepackage{tikz,pgfplots} \pgfplotsset{compat=newest}\pgfplotsset{plot coordinates/math parser=false}in your preamble. I did it and I'm not longer experiencing the warning (I guess thecompact=newestis the responsible) – Mario S. E. Jun 17 '13 at 14:00