![安定領域をプロットする](https://rvso.com/image/472721/%E5%AE%89%E5%AE%9A%E9%A0%98%E5%9F%9F%E3%82%92%E3%83%97%E3%83%AD%E3%83%83%E3%83%88%E3%81%99%E3%82%8B.png)
この図をプロットしたいのですが、これが私のコードと結果です。図にマークした垂直線を削除し、点 $q pi/2$ を円弧から離して、元の図のように円弧にくっつかないようにしたいと思います。。
\begin{tikzpicture}
\draw[fill=gray!10]
(-3,-3) -- (-3,3) -- (0,0) -- cycle;
\draw[very thick, ->] (-3,0) -- (3,0) node[right] {Re};
\draw[very thick, ->] (0,-3) -- (0,3.5) node[above] {Im};
\draw[very thick, <->]
(0:1) arc[start angle=0, end angle=135, radius=1]
node[midway, right] {$q\frac{\pi}{2}$};
\node[align=center] at (2.3,-1) {unstable region};
\node[align=center] at (-2,-1) {stable region};
\end{tikzpicture}
答え1
灰色の三角形を閉じたくない場合は、パスを閉じないでください。
-- cycle
xshift=
たとえば、とを使用してノードをシフトできますyshift=
。あるいは、outer sep=
ノードの を増やすこともできます。
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[fill=gray!10] (-3,-3) -- (0,0) -- (-3,3);
\draw[very thick, ->] (-3,0) -- (3,0) node[right] {Re};
\draw[very thick, ->] (0,-3) -- (0,3.5) node[above] {Im};
\draw[very thick, <->]
(0:1) arc[start angle=0, end angle=135, radius=1]
node[midway, right,xshift=0.25cm,yshift=0.25cm] {$q\frac{\pi}{2}$};
\node[align=center] at (2.3,-1) {unstable region};
\node[align=center] at (-2,-1) {stable region};
\end{tikzpicture}
\end{document}