Re: [R] shaded area between a curve and a circle

2022-10-23 Thread Jinsong Zhao
The figure is not ok. The coordinate of the normal curve is not the same as that of the circle. In fact, there are only four intersections other than eight that your figure show. Best, Jinsong On 2022/10/23 3:05, L... L... wrote: Dear, I have a picture in which I draw a circle over the

Re: [R] shaded area between a curve and a circle

2022-10-23 Thread Uwe Ligges
The points on your density curve can be written as (x, f(x)) - well, if you had not divided by its max value which I do not understand why. Now you simply need to find out which of these points have a distance of the circle's radius to the point (0,0). Hmmm, your "circle" has a radius of 2 in