1

I am new user of LaTeX. Kindly can some one please help me out on how I can draw these lines in circles from center to the boundary of circles?

The fourth line coming from outside should be an arrow pointing to towards shaded region.

How I can add text on these lines. Some one please have a look and help.

I have the code for circles but problem is with these lines/arrow. Thanks in advance.

\documentclass[border=5pt]{standalone}

\usepackage{tkz-euclide}
\usetikzlibrary{backgrounds}
\usetkzobj{all}

\begin{document}
\begin{tikzpicture}[background rectangle/.style={fill=white!40},
                        show background rectangle,rotate=-10]
     \tkzDefPoint(0,0){Y}
     \tkzDefPoint(210:2){X}
     \tkzDefPoint(-30:2){Z}

     \tkzFillCircle[color=white](Y,X)
     \begin{scope}
       \tkzClipCircle(Z,Y)
       \tkzFillCircle[color=gray!50,%
          opacity=.7](X,Y)
     \end{scope}
     \tkzDrawCircle(X,Y)
     \tkzDrawCircle(Y,X)
     \tkzDrawCircle(Z,Y)
     \tkzDrawPoints[color=blue,fill=blue](X,Y,Z)
     \tkzLabelPoints[right](X,Y,Z)

  \end{tikzpicture}
\end{document}

Figure showing three circles which are intersected

4
  • Please add the code you wrote so far to produce these circles. :)
    – Alenanno
    Commented Dec 3, 2015 at 17:55
  • @Alenanno Thanks for the comment. I have now added the code please have a look.Thanks
    – Haider
    Commented Dec 3, 2015 at 18:09
  • @Alenanno ,Please can you have a look into it please.Thanks in advance!
    – Haider
    Commented Dec 4, 2015 at 9:55
  • I was just posting the answer. :)
    – Alenanno
    Commented Dec 4, 2015 at 9:59

1 Answer 1

1

I added the usetikzlibrary command in order to change the arrow style, but if you want the basic one (->), then you can simply delete the part that says , >={Latex} from the tikzpicture options.

Output

example image

Code

\documentclass[border=5pt]{standalone}
\usepackage{tkz-euclide}
\usetkzobj{all}
\usetikzlibrary{arrows.meta}

\begin{document}
\begin{tikzpicture}[rotate=-10, >={Latex}]

    \tkzDefPoint(0,0){Y}
    \tkzDefPoint(210:2){X}
    \tkzDefPoint(-30:2){Z}

    \tkzFillCircle[color=white](Y,X)
    \begin{scope}
      \tkzClipCircle(Z,Y)
      \tkzFillCircle[color=gray!50,%
         opacity=.7](X,Y)
    \end{scope}
    \tkzDrawCircle(X,Y)
    \tkzDrawCircle(Y,X)
    \tkzDrawCircle(Z,Y)
    \tkzDrawPoints[color=blue,fill=blue](X,Y,Z)
    \tkzLabelPoints[right](X,Y,Z)

    \tkzDefPointBy[rotation= center X angle 180](Y)
    \tkzGetPoint{P}
    \tkzDefPointBy[rotation= center Z angle 180](Y)
    \tkzGetPoint{P'}
    \tkzDefPointBy[rotation= center Z angle 14](Y)
    \tkzGetPoint{B}

    \tkzDefLine[bisector](Z,Y,X)
    \tkzGetPoint{B'}
    \tkzDefLine[bisector](Y,B,X)
    \tkzGetPoint{h}

    \tkzDrawSegments[thick](X,P Z,P' Y,B')
    \tkzDrawSegment[thick, arrows=<-, add=0 and 3](B,h)
  \end{tikzpicture}
\end{document}
1
  • Thanks for the answer.Just one little thing how I can change the size of the circles.
    – Haider
    Commented Dec 4, 2015 at 11:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .