LayerSizeFunction

LayerSizeFunction

TreePlot 的一个选项,它给出一个函数来指定对每层所允许的相对高度.

更多信息

范例

基本范例  (1)

绘制一个树,第一层高度为 1,第二层高度为 2:

用随机层次的尺寸,绘制一个二进制树:

Wolfram Research (2007),LayerSizeFunction,Wolfram 语言函数,https://reference.wolfram.com/language/ref/LayerSizeFunction.html.

文本

Wolfram Research (2007),LayerSizeFunction,Wolfram 语言函数,https://reference.wolfram.com/language/ref/LayerSizeFunction.html.

CMS

Wolfram 语言. 2007. "LayerSizeFunction." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/LayerSizeFunction.html.

APA

Wolfram 语言. (2007). LayerSizeFunction. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/LayerSizeFunction.html 年

BibTeX

@misc{reference.wolfram_2024_layersizefunction, author="Wolfram Research", title="{LayerSizeFunction}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/LayerSizeFunction.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_layersizefunction, organization={Wolfram Research}, title={LayerSizeFunction}, year={2007}, url={https://reference.wolfram.com/language/ref/LayerSizeFunction.html}, note=[Accessed: 22-November-2024 ]}