
M(-1, -4)
점을 통과 하고 선과 에 접하는 두 개의 원을 그리고 싶습니다 4x+ 3y = 0
. 3 x + 4 y + 1 = 0
원의 방정식은 (x + 1)^2 + (y +2)^2 = 4
과 입니다 (x +241)^2 + (y + 242)^2 = 338^2
. 첫 번째 원은 반경이 작고 두 번째 원은 반경이 큽니다. 그릴 때 보기가 어렵네요. 내 코드는 (저는 Geogebra로 그립니다)입니다.
\documentclass[12pt]{article}
\usepackage{pstricks-add}
\pagestyle{empty}
\begin{document}
\psset{xunit=0.5mm,yunit=0.5mm,algebraic=true,dimen=middle,dotstyle=o,dotsize=3pt 0,linewidth=0.8pt,arrowsize=3pt 2,arrowinset=0.25}
\begin{pspicture}(-193.7,-54.03)(34.83,63.61)
\psplot[linewidth=1.2pt]{-193.7}{34.83}{(-0-4*x)/3}
\psplot{-193.7}{34.83}{(-1-3*x)/4}
\pscircle(-241,-242){338}
\pscircle(-1,-2){2}
\begin{scriptsize}
\psdots[dotstyle=*](-1,-4)
\rput[bl](-3.92,-6.74){$M$}
\end{scriptsize}
\end{pspicture}
\end{document}
답변1
내 제안의 실현은 다음과 같습니다. 첫째, 다음과 같습니다.
\documentclass[12pt, pdf, x11names]{standalone}%
\usepackage{pstricks-add}
\usepackage{pst-eucl}
\usepackage{sansmath}
\begin{document}
\scriptsize\sffamily\sansmath
\noindent
\psset{unit=0.15mm}%
\begin{pspicture*}(-650,-650)(350,250)
\psaxes[ticks = all,ticksize = -2pt, labels =all, Dx = 100,Dy = 100,](0,0)(-650,-650)(350,250)
\pscircle[linecolor = Gold2](-241,-242){338}
\pstGeonode[dotsize = 2pt](-1,-4){M}
\psset{PointName = none, PointSymbol = none, nodesep = -600}
\pstGeonode(0,0){O}(3,-4){A}(-3,2){B}(5,-4){C}
\pstLineAB[linecolor = DeepSkyBlue2]{O}{A}\pstLineAB[linecolor = VioletRed3]{B}{C}
\pscircle[linecolor =DarkOliveGreen3](-1,-2){2}
\end{pspicture*}
\end{document}
이 그림을 제공합니다 :
그런 다음 ×100 확대/축소를 생성하는 거의 동일한 코드입니다.
\documentclass[12pt, pdf, x11names]{standalone}%
\usepackage{pstricks-add}
\usepackage{pst-eucl}
\usepackage{sansmath}
\begin{document}
\scriptsize\sffamily\sansmath
\noindent
\psset{unit=1.5cm}
\begin{pspicture*}(-6.5,-6.5)(2.5,1.5)
\psaxes[ticks = all,ticksize = -2pt, labels =all, linewidth = 0.6pt](0,0)(-6.5,-6.5)(3.5,2.5)
\pscircle[linecolor = Gold2](-241,-242){338}
\pstGeonode[dotsize = 2pt](-1,-4){M}
\psline[linewidth = 0.4pt, linestyle = dashed, dash = 2pt 3pt](0,-4)(M)(-1,0)
\psset{PointName = none, PointSymbol = none, nodesep = -600}
\pstGeonode(0,0){O}(3,-4){A}(-3,2){B}(5,-4){C}
\pstLineAB[linecolor = DeepSkyBlue2]{O}{A}\pstLineAB[linecolor = VioletRed3]{B}{C}
\pscircle[linecolor =DarkOliveGreen3](-1,-2){2}
\end{pspicture*}
\end{document}
그리고 우리는 이것을 얻습니다: