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.

更多信息更多信息

范例范例打开所有单元关闭所有单元

基本范例 (1)基本范例 (1)

In[1]:=
Click for copyable input

An expression tree plot, with tooltips for each vertex giving the subexpression from that vertex down:

In[2]:=
Click for copyable input
Out[2]=

An expression tree up to level 2 with its root at the left:

In[3]:=
Click for copyable input
Out[3]=
New to Mathematica? Find your learning path »
Have a question? Ask support »