1
$\begingroup$

I want to use such a region as an Epilog in other figures. I have tried with HalfPlane, thinking RegionIntersection might work.

r1 = HalfPlane[{{0, -.5}, {1, -.5}}, {0, 1}];
r2 = HalfPlane[{{0, .5}, {1, .5}}, {0, -1}];
Region[RegionIntersection[r1, r2]]

But it is not a graphics primitive so that it can not be used as an Epilog.

$\endgroup$
  • 1
    $\begingroup$ Instead of using Epilog use Show to combine the figures. $\endgroup$ – Bob Hanlon Jun 29 at 3:46

Your Answer

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

Browse other questions tagged or ask your own question.