|
3 | 3 | \usetikzlibrary{arrows.meta, arrows} |
4 | 4 | \begin{document} |
5 | 5 |
|
| 6 | +%.. tikz:: |
6 | 7 | \begin{tikzpicture} |
7 | | -[scale=5, axis/.style={<->, >=stealth'}, important line/.style={thick}, |
8 | | -dotted line/.style={dotted, thick,red}, dashed line/.style={dashed, thin}, |
9 | | -every node/.style={color=black}] |
10 | | - \coordinate(O) at (0,0); |
| 8 | +[scale=5, axis/.style={<->, >=stealth'}, important line/.style={thick}, dotted line/.style={dotted, thick,red}, dashed line/.style={dashed, thin}, every node/.style={color=black}] \coordinate(O) at (0,0); |
11 | 9 | \coordinate (y') at (-0.4,0.1); |
12 | 10 | \coordinate (Py) at (0.6,0.3); |
13 | 11 | \coordinate (y) at (0.4,0.7); |
|
16 | 14 | \coordinate (Py') at (-0.28,-0.14); |
17 | 15 | \draw[axis] (-0.5,0) -- (0.9,0) node(xline)[right] {}; |
18 | 16 | \draw[axis] (0,-0.3) -- (0,0.7) node(yline)[above] {}; |
19 | | - \draw[important line, thick] (Z1) -- (O); |
20 | | - \draw[important line, thick] (Py) -- (Z2) node[right] {$S$}; |
21 | 17 | \draw[important line,blue,thick, ->] (O) -- (Py) node[anchor = north west, text width=2em] {$P y$}; |
22 | 18 | \draw[important line,blue, ->] (O) -- (y') node[left] {$y'$}; |
| 19 | + \draw[important line, thick] (Z1) -- (O) node[right] {}; |
| 20 | + \draw[important line, thick] (Py) -- (Z2) node[right] {$S$}; |
23 | 21 | \draw[important line, blue,->] (O) -- (y) node[right] {$y$}; |
24 | | - \draw[important line,blue,thick, ->] (O) -- (Py'); |
| 22 | + \draw[important line, blue,->] (O) -- (Py') node[anchor = north west, text width=5em] {$P y'$}; |
25 | 23 | \draw[dotted line] (0.54,0.27) -- (0.51,0.33); |
26 | 24 | \draw[dotted line] (0.57,0.36) -- (0.51,0.33); |
27 | 25 | \draw[dotted line] (-0.22,-0.11) -- (-0.25,-0.05); |
28 | 26 | \draw[dotted line] (-0.31,-0.08) -- (-0.25,-0.05); |
29 | 27 | \draw[dashed line, black] (y) -- (Py); |
30 | | - \draw[dashed line, black] (y') -- (Py') node[anchor = north west, text width=5em] {$P y'$}; |
| 28 | + \draw[dashed line, black] (y') -- (Py'); |
31 | 29 | \end{tikzpicture} |
32 | 30 |
|
33 | 31 | \end{document} |
0 commit comments