Debian Codegraph @

texmf-dist/doc/latex/visualpstricks/Source/homo.tex

raw
1 \psset{unit=0.8cm}
2 \label{hom}
3
4 \begin{tabular}{|c|} \hline
5 \parbox{10cm}{
6 \BS{pscircle}[linestyle=dotted]\AC{1}
7 \\
8 \BSS{psHomothetie}[linecolor=magenta](2,1)\AC{.5}\AC{\BS{pscircle}\AC{1}} \BSI{psHomothetie}{pstricks-add}
9 \\
10 \BSS{psHomothetie}[linecolor=red](2,1)\AC{2}\AC{\BS{pscircle}\AC{1}}
11 \\
12 \BSS{psHomothetie}[linecolor=green](2,1)\AC{3}\AC{\BS{pscircle}\AC{1}} }
13 \\ \hline
14 \begin{pspicture}(-8.3,-6.3)(2.3,2.5)
15 \psgrid[subgriddiv=0](-8,-6)(2,2)
16 \pscircle[linecolor=blue,linestyle=dotted,linewidth=2pt]{1}
17 \psline(-8,-4)(2,1)
18 \psHomothetie[linecolor=magenta](2,1){.5}{\pscircle{1}}
19 \psHomothetie[linecolor=red](2,1){2}{\pscircle{1}}
20 \psHomothetie[linecolor=green](2,1){3}{\pscircle{1}}
21 \psdots[linecolor=red,dotsize=8pt](2,1)
22 \psline[linewidth=3pt,linecolor=red]{->}(2,1)(0,0) \psdots(-4,-2)(-2,-1)(0,0)(1,.5)
23 %\end{psgraph}
24 \end{pspicture}
25 \\ \hline
26 \end{tabular}
27
28
29 \bigskip
30
31
32 \begin{tabular}{|c|} \hline
33 \parbox{10cm}{
34 \BS{pscircle}[linestyle=dotted]\AC{1}
35 \\
36 \BSS{psHomothetie}[linecolor=magenta](-2,-1)\AC{.5}\AC{\BS{pscircle}\AC{1}}
37 \\
38 \BSS{psHomothetie}[linecolor=red](-2,-1)\AC{2}\AC{\BS{pscircle}\AC{1}}
39 \\
40 \BSS{psHomothetie}[linecolor=green](-2,-1)\AC{3}\AC{\BS{pscircle}\AC{1}} }
41 \\ \hline
42 \begin{pspicture}(-2.3,-2.3)(8.3,6.5)
43 \psgrid[subgriddiv=0](-2,-2)(8,6)
44 \pscircle[linecolor=blue,linestyle=dotted,linewidth=2pt]{1}
45 \psline(8,4)(-2,-1)
46 \psHomothetie[linecolor=magenta](-2,-1){.5}{\pscircle{1}}
47 \psHomothetie[linecolor=red](-2,-1){2}{\pscircle{1}}
48 \psHomothetie[linecolor=green](-2,-1){3}{\pscircle{1}}
49 \psdots[linecolor=red,dotsize=8pt](2,1)
50 \psline[linewidth=3pt,linecolor=red]{->}(-2,-1)(0,0) \psdots(4,2)(2,1)(0,0)(-1,-.5)
51 \end{pspicture}
52 \\ \hline
53 \end{tabular}
54
55
56 \begin{tabular}{|c|} \hline
57 \parbox{10cm}{
58 \BS{pscircle}[linestyle=dotted]\AC{1}
59 \\
60 \BSS{psHomothetie}[linecolor=magenta](2,1)\AC{-.5}\AC{\BS{pscircle}\AC{1}}
61 \\
62 \BSS{psHomothetie}[linecolor=black](2,1)\AC{-1}\AC{\BS{pscircle}\AC{1}}
63 \\
64 \BSS{psHomothetie}[linecolor=red](2,1)\AC{-2}\AC{\BS{pscircle}\AC{1}}
65 \\
66 \BSS{psHomothetie}[linecolor=green](2,1)\AC{-3}\AC{\BS{pscircle}\AC{1}} }
67 \\ \hline
68 \psset{unit=0.8cm}
69 \begin{pspicture}(-2.5,-2.5)(12.5,8.7)
70 \psgrid[subgriddiv=0](-2,-2)(12,8)
71 %\begin{psgraph}[axesstyle=none,xticksize=-3 12 ,yticksize=-2 15, subticks=0,gridcolor=lightgray](0,0)(-2,-3)(15,12){8cm}{8cm}
72 \pscircle[linecolor=blue,linestyle=dotted,linewidth=2pt]{1}
73 \psline(-2,-1)(12,6)
74 \psHomothetie[linecolor=magenta](2,1){-.5}{\pscircle{1}}
75 \psHomothetie[linecolor=black](2,1){-1}{\pscircle{1}}
76 \psHomothetie[linecolor=red](2,1){-2}{\pscircle{1}}
77 \psHomothetie[linecolor=green](2,1){-3}{\pscircle{1}}
78 \psdots[linecolor=red,dotsize=8pt](2,1)
79 \psline[linewidth=3pt,linecolor=red]{->}(2,1)(0,0) \psdots(8,4)(6,3)(0,0)(3,1.5)(4,2)
80 % \end{psgraph}
81 \end{pspicture}
82 \psset{unit=1cm}
83 \\ \hline
84 \end{tabular}
85
86 \psset{unit=1cm}