Code: Select all
\documentclass[12pt]{article}
\usepackage{pgf,tikz}
\usetikzlibrary{arrows}
\begin{document}
\definecolor{ffqqqq}{rgb}{1,0,0}
\definecolor{qqqqqq}{rgb}{0,0,0}
\definecolor{ffqqqq}{rgb}{1,0,0}
\definecolor{qqwuqq}{rgb}{0,0.392156862745098,0}
\definecolor{qqqqqq}{rgb}{0,0,0}
\definecolor{qqqqff}{rgb}{0,0,1}
\definecolor{qqqqqq}{rgb}{0,0,0}
\begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=1.0cm,y=1.0cm]
\draw[->,color=qqqqqq] (-3.5,0) -- (0.5,0);
\foreach \x in {-3,-2,-1}
\draw[shift={(\x,0)},color=qqqqqq] (0pt,-2pt);
\draw[->,color=qqqqqq] (0,-0.5) -- (0,4.3);
\foreach \y in {,1,2,3,4}
\draw[shift={(0,\y)},color=qqqqqq] (2pt,0pt) -- (-2pt,0pt);
\clip(-3.5,-0.5) rectangle (0.5,4.3);
\draw [line width=2pt,color=qqqqqq] (-1.5,1.5) circle (1cm);
\draw [line width=1.2pt,dash pattern=on 2pt off 2pt,color=ffqqqq,domain=-3.5:0.5] plot(\x,{(--3.081680820604948--0.557836036894137*\x)/0.829951176842496});
\draw [line width=1.6pt,dotted,color=qqqqqq] (-1.5,1.5)-- (-0.653539247128977,0.96754888125855);
\draw [color=ffqqqq](-1.620708173716304,2.958081198573539) node[anchor=north west] {λ};
\begin{scriptsize}
\fill [color=qqqqff] (-1.5,1.5) circle (1.5pt);
\draw[color=qqqqff] (-1.126566494829682,1.730312495462603) node {C = (h, k)};
\draw[color=qqqqqq] (-1.027738159052357,2.605274099978442) node {$O$};
\fill [color=qqwuqq] (-2.057836036894137,2.329951176842496) circle (1.5pt);
\draw[color=qqwuqq] (-1.917193181048277,2.619386383922246) node {P_T = (α,β)};
\draw[color=qqqqqq] (-1.225394830607006,1.194045705598057) node {$r$};
\end{scriptsize}
\end{tikzpicture}
\end{document}