0
$\begingroup$

I am displaying multiple Disks that overlap and many of the Disks are different colors. Currently, the regions in which the Disks overlap are a color that is a mixture of the two Disks. I would like for that region to only be the color of the later Disk in the list. Is there a simple fix for this?

$\endgroup$
1
$\begingroup$

What you want is the default behavior:

col[i_] := ColorData[15][RandomInteger[{0, 10}]]
Graphics@Table[{EdgeForm[Black], col[i], Disk[{i, 0}, 1]}, {i, 4}]

Mathematica graphics

$\endgroup$
  • $\begingroup$ Thank you, perhaps I have some other issues within my code. $\endgroup$ – user16286 Nov 13 '14 at 3:51
  • $\begingroup$ @dleggas Check for Opacity[] options in there $\endgroup$ – Dr. belisarius Nov 13 '14 at 3:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy