我有一张包含统计测试的思维导图的 MWE(葡萄牙语)
\documentclass[10pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{mindmap,calc}
\definecolor{azul}{RGB}{35, 140, 255}
\tikzset{grow cyclic list/.code={%
\def\tikzgrowthpositions{{#1}}%
\foreach \n [count=\i,remember=\i]in {#1}{}%
\let\tikzgrowthpositionscount=\i%
\tikzset{growth function=\tikzgrowcycliclist}}}
\def\tikzgrowcycliclist{%
\pgftransformshift{%
\pgfpointpolar{\tikzgrowthpositions[mod(\the\tikznumberofcurrentchild-1,\tikzgrowthpositionscount)]}%
{\the\tikzleveldistance}}}
\begin{document}
\begin{tikzpicture}[grow cyclic, text width=2.7cm, align=flush center,every node/.append style={circle,
fill=azul!5,
inner sep=-20pt},
level 1/.style={level distance=3cm,sibling angle=100},
level 2/.style={level distance=3.5cm,sibling angle=50},
level 3/.style={level distance=3.5cm,sibling angle=45}]
\node[]{\textbf{Testes de Hipóteses}}
child [] { node (tnp) {\textbf{Não Paramétricos}}
child { node {Uma População}
child { node {$\chi^2$ de ajustamento}}
child { node {Wilcoxon para a mediana}}}
child { node {Duas Populações}
child { node {Amostras Independentes}
child { node {Wilcoxon-Mann-Whitney}}
child { node {$\chi^2$ Independ.}}}
child { node {Amostras Emparelhadas}
child { node {Wilcoxon}}
child { node {$\chi^2$ McNemar}}}
}
child { node {Duas ou mais Populações}
child{ node {Amostras Independentes}
child { node {Kruskal-Wallis}}}
child { node {Amostras Emparelhadas}
child { node {Friedman}}}
}
}
child [] { node (tp) {\textbf{Paramétricos}}
child { node {Uma População}
child { node {\textit{t}-Student média}}
child { node {Z proporção}}
}
child { node {Duas Populações}
child { node {Amostras Independentes}
child { node {\textit{t}-Student difs. médias}}
child { node {Z para a difs. proporções}}
}
child { node {Amostras Emparelhadas}
child { node {\textit{t}-Student difs. médias}}
child { node {Z difs. proporções}}}
}
child { node {Duas ou mais Populações}
child { node {Amostras Independentes}
child { node {ANOVA \textit{one-way} e \textit{two-way}}}}
child { node {Amostras Emparelhadas}
child { node {ANOVA de Medições Repetidas}}}
}};
\node[annotation, fill=white, text width=22mm] at ($(tp.south) + (-0., -0.75)$){\small $Y \sim \mathcal{N}(\mu,\sigma)$};
%\node[annotation, fill=white, text width=16mm] at ($(tp.north) + (-1, 0.5)$){\small $\sigma^2_1=\ldots \sigma^2_k$};
%\node[annotation, fill=white, text width=12mm] at ($(tp.north) + (1.1, 0.5)$){\small $\sigma^2_1=\sigma^2_2$};
\end{tikzpicture}
\end{document}
我得到了这个思维导图:
思维导图必须适合信纸大小的页面。我的设计丑陋又拥挤。我想知道是否有人的设计技巧比我更好,可以制作出更清晰、更易读的东西……
谢谢!
答案1
仅作为一种概念性想法,您可以遵循 的发明原理 (ip) doing a little less
,并结合 ip (progressive) segmentation
。
这可能意味着:
- 将大思维导图分解成几个小的思维导图
- 每一个都显得少了一点
- 像这样,您可以根据需要重新对齐,例如从左到右(更多评论如下):
全面的:
参数分支:
非参数分支:
您还可以做更多,遵循 ip 以asymmetry
提高可读性。例如,当读者一眼就能识别出孩子的水平时,图表将更具可读性,例如通过:
- 每个级别使用不同的形状
- 每个级别使用不同的颜色、色调和等级
- 根据级别修改连接线(更粗、更细等)
- 只要是显著的差异或变化(字体大小可能不会)
我很难理解你的代码,因为似乎没有办法将圆形变成椭圆形,这是节点的标准形状之一。这可能是由思维导图库引起的。
但是,如果您要画 3 棵较小的树,则可以使用所有其他 tikz 方法,这些方法可能更容易控制,例如:
- 绘制普通节点和线条
- 使用
positioning
库 - 使用矩阵定位(参见 pgfmanual 中的教程)
- 使用
chain
等tree