|
| 1 | +\documentclass[convert={density=300,size=1080x800,outext=.png}]{standalone} |
| 2 | +\usepackage{tikz} |
| 3 | +\usetikzlibrary{arrows.meta, arrows} |
| 4 | +\begin{document} |
| 5 | + |
| 6 | +%.. tikz:: |
| 7 | +\begin{tikzpicture} |
| 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); |
| 9 | + \coordinate (y') at (-0.4,0.1); |
| 10 | + \coordinate (Py) at (0.6,0.3); |
| 11 | + \coordinate (y) at (0.4,0.7); |
| 12 | + \coordinate (Z1) at (-0.4,-0.2); |
| 13 | + \coordinate (Z2) at (0.8,0.4); |
| 14 | + \coordinate (Py') at (-0.28,-0.14); |
| 15 | + \draw[axis] (-0.5,0) -- (0.9,0) node(xline)[right] {}; |
| 16 | + \draw[axis] (0,-0.3) -- (0,0.7) node(yline)[above] {}; |
| 17 | + \draw[important line,blue,thick, ->] (O) -- (Py) node[anchor = north west, text width=2em] {$P y$}; |
| 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$}; |
| 21 | + \draw[important line, blue,->] (O) -- (y) node[right] {$y$}; |
| 22 | + \draw[important line, blue,->] (O) -- (Py') node[anchor = north west, text width=5em] {$P y'$}; |
| 23 | + \draw[dotted line] (0.54,0.27) -- (0.51,0.33); |
| 24 | + \draw[dotted line] (0.57,0.36) -- (0.51,0.33); |
| 25 | + \draw[dotted line] (-0.22,-0.11) -- (-0.25,-0.05); |
| 26 | + \draw[dotted line] (-0.31,-0.08) -- (-0.25,-0.05); |
| 27 | + \draw[dashed line, black] (y) -- (Py); |
| 28 | + \draw[dashed line, black] (y') -- (Py'); |
| 29 | +\end{tikzpicture} |
| 30 | + |
| 31 | +\end{document} |
0 commit comments