플롯 안정성 영역

플롯 안정성 영역

나는 이 그림을 플롯하고 싶고 이것이 내 코드와 결과입니다. 그림에 표시한 수직선을 제거하고 $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}

여기에 이미지 설명을 입력하세요

관련 정보