tikz를 사용하여 그래프 노드에 정규 분포 설정

tikz를 사용하여 그래프 노드에 정규 분포 설정

나는정규 분포tikz패키지를 사용하여 원 노드 내부

\node[scale=4,circle, fill=blue!55!cyan!25] (Og1) at (0,0) {};

노드 내부에 체크 표시 없이 가로 축만 나타날 수 있는 경우 플롯 아래 영역에 색상이 지정됩니다.

답변1

.path picture

\documentclass[tikz,border=3mm]{standalone}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}
 \node[circle,draw,minimum size=4cm,path picture={
 \draw[fill=blue] let 
 \p1=($(path picture bounding box.north east)-(path picture bounding box.south
  west)$)
  in plot[variable=\t,domain=-1:1,smooth] 
  ({\t*\x1/2},{exp(-\t*\t)}) |- (-\x1,0)
  (-0.5*\x1,0) edge[-stealth] (0.48*\x1,0)
   (0,0) edge[-stealth] (0,0.48*\y1);
 }]{};
\end{tikzpicture}
\end{document}

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

관련 정보