我尝试绘制此图,但没有成功。我想绘制模糊和 BEL 模型。
我用了这个代码
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{positioning,calc,fit}
\begin{figure*}[!ht]
\centering
\newcommand{\bloc}[2]{
\begin{scope}[shift={#1}]
\begin{scope}[every node/.style={circle, draw, minimum size=2em}]
\node[circle, draw] [blue](#2-c1){};
\node[below left=1em of #2-c1][blue](#2-c2){};%to draw a circle inside a box
\node[below left=1em of #2-c2][blue](#2-c3){};
\node[below left=1em of #2-c3][blue](#2-c4){};
\end{scope}
\node[above left=1em and 0em of #2-c1][blue](#2-tt){#2};%to label the box by names Thalamus,Sensory Cortex
\node[draw,fit=(#2-c1) (#2-c2) (#2-c3) (#2-c4) (#2-tt)][red](#2){};%to draw a boxes
\end{scope}
}
\end{figure*}
\end{document}