产品
产品概览
Mathematica
Mathematica 学生版
Mathematica Home Edition
Wolfram
CDF Player
(免费下载)
可计算文档格式(CDF)
web
Mathematica
grid
Mathematica
Wolfram
Workbench
Mathematica
附加程序包
Wolfram|Alpha 产品
解决方案
解决方案概览
工程
航空航天与国防
化学工程
控制系统
电气工程
图像处理
工业工程
材料科学
机械工程
运筹学
光学
石油工程
生物技术与医药
生物信息学
医学影像
金融、统计、商业分析
精算科学
数据分析与挖掘
计量经济学
经济学
金融工程与数学
金融风险管理
统计
软件工程、内容传递
创作与出版
界面开发
软件工程
网页开发
科学
天文学
生物科学
化学
环境科学
地球科学
社会与行为科学
设计、艺术以及娱乐
游戏设计、特殊效果及衍生艺术
教育
STEM 教育倡议
高等教育
高职高专院校
中小学教育
学生
科技
可计算文档格式(CDF)
高性能并行计算(HPC)
参见:技术指南
购买
网上商店
其它购买方式
批量许可及站点许可证
联络销售部
软件
服务
升级
培训
书籍
技术支持
技术支持概览
知识库
学习中心
社区与论坛
培训
确认授权
Wolfram 用户门户
公司概况
关于 Wolfram Research
新闻与活动
Wolfram 博客
合作伙伴
工作机会
Mathematica
的历史
Stephen Wolfram 主页
联系我们
公司网站
全部站点
Wolfram|Alpha
演示项目
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Media
Wolfram
Tones
Wolfram Science
Stephen Wolfram
DOCUMENTATION CENTER SEARCH
New to
Mathematica
?
Find your learning path
»
Graph Utilities Package
>
GRAPH UTILITIES PACKAGE 符号
Graph Utilities Package
教程 »
|
TreeForm
TreePlot
参见 »
|
Graph Utilities Package
更多关于 »
ExpressionTreePlot
ExpressionTree[
e
]
plots the expression tree of
e.
plots the expression tree of
e
with its root placed at position
pos
.
plots the expression tree of
e
up to level
lev
with its root placed at position
pos
.
更多信息
To use
, you first need to load the
Graph Utilities Package
using
.
has the same options as
TreePlot
.
范例
关闭所有单元
例
(1)
An expression tree plot, with tooltips for each vertex giving the subexpression from that vertex down:
An expression tree up to level 2 with its root at the left:
Needs["GraphUtilities`"]
An expression tree plot, with tooltips for each vertex giving the subexpression from that vertex down:
In[2]:=
Out[2]=
An expression tree up to level 2 with its root at the left:
In[3]:=
Out[3]=
Scope
(1)
When
Hold
,
HoldForm
, etc. are used, the expressions inside them are not evaluated:
Options
(1)
This gives an expression tree with no vertex labels, except that all subexpressions are shown as tooltips:
Applications
(1)
This plots a binary tree:
This plots a 5-ary tree:
Properties & Relations
(1)
TreeForm
also gives the expression tree, although the orientation of the tree cannot be specified:
can specify root position:
参见
TreeForm
TreePlot
教程
Graph Utilities Package
更多关于
Graph Utilities Package