ExpressionTreePlot

As of Version 10, all the functionality of the GraphUtilities package is built into the Wolfram System. >>

ExpressionTreePlot[e]
plots the expression tree of e.

ExpressionTreePlot[e,pos]
plots the expression tree of e with its root placed at position pos.

ExpressionTreePlot[e,pos,lev]
plots the expression tree of e up to level lev with its root placed at position pos.

更多信息更多信息

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

基本范例  (2)基本范例  (2)

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]=

ExpressionTreePlot has been superseded by TreeForm:

In[1]:=
Click for copyable input
Out[1]//TreeForm=