Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I am trying combine this two functions into one piece in grid.

RegionPlot[x^2+y^2<=1 \[And] y>x,{x,-2,2},{y,-2,2},PlotPoints->15]

Graphics[Disk[{1/2,-1/2}, 1/2]]

I tried put Disk[{},] inside first one but it doesn't work. I would appreciate for any help.

share|improve this question

migrated from math.stackexchange.com Mar 6 at 16:05

This question came from our site for people studying math at any level and professionals in related fields.

2 Answers 2

up vote 0 down vote accepted

Combine the two functions in Show[]:

Show[RegionPlot[x^2+y^2<=1 \[And] y>x,{x,-2,2},{y,-2,2},PlotPoints->15],Graphics[Disk[{1/2,-1/2}, 1/2]]].

share|improve this answer

You can put it inside RegionPlot but you have to use Epilog or Prolog:

RegionPlot[x^2 + y^2 <= 1 \[And] y > x, {x, -2, 2}, {y, -2, 2}, 
 PlotPoints -> 15, Epilog -> Disk[{1/2, -1/2}, 1/2]]
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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