5
$\begingroup$

I would like to plot different regions, some of them with different boundaries. For instance if I use

RegionPlot[{region1, region2}, BoundaryStyle -> {None,Directive[Black,Thick]}]

it does not work.

I was not able to find a workaround. Any idea?

$\endgroup$
  • $\begingroup$ Welcome to Mathematica.SE! 1) As you receive help, try to give it too, by answering questions in your area of expertise. 2) Take the tour and check the faqs! 3) When you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. Also, please remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign! $\endgroup$ – user9660 Feb 9 '16 at 9:56
8
$\begingroup$

I first thought this was a bug, but then I recalled the fact that grid dividers can be specified by part. This worked in this case too.

RegionPlot[{Disk[], Disk[{1, 0}]}, BoundaryStyle -> {
            1 -> Directive[Orange, Thick], 2 -> Directive[Black, Thick]}]

enter image description here

$\endgroup$
  • $\begingroup$ Fantastic, answers exactly my question! Thank you. $\endgroup$ – fancy Feb 9 '16 at 14:45

Your Answer

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

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