This question already has an answer here:

I am trying to fill two overlapped regions using fill and pattern. My problem is that the opacity option is not working in my example:

    \addplot[pattern=dots,mark=*] coordinates {
    \addplot[fill=green,fill opacity=0.2,mark=*] coordinates {
                (0,0)    };
   \end{figure}   `

which produces the follwing figure:

enter image description here

I need to reduce the opacity of the green region.

marked as duplicate by Symbol 1, Zarko tikz-pgf Apr 22 '17 at 21:17

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • It works for me. Which version of pgfplots do you use? Please try updating. – user11232 Oct 4 '15 at 13:42
  • @HarishKumar I updated all the packages (in Miktex) but still have the same problem. For the pgfplots version, I found in the text file: Package: pgfplots 2015/05/02 v1.12.1 Data Visualization (1.12.1). – tam Oct 4 '15 at 14:19
  • I too have the same version but it works: i.stack.imgur.com/jQPX1.png Can you show the full code please. – user11232 Oct 4 '15 at 14:23
  • Might also be a viewer issue. I know my slightly old version of evince doesn't always get this right, but double checked in Adobe Reader things look as they should. – daleif Oct 4 '15 at 14:26
  • 1
    @tam That's why you need to write a full example in the question. :) You don't need this transparent package with pgfplots, you can remove it. – Alenanno Jun 17 '16 at 17:39

i had the same error and could reduce it to the following package: fixmetodonotes. This interfered with transparency.

By adding


to the above example, transparency got lost.

Not the answer you're looking for? Browse other questions tagged or ask your own question.