TreePlot - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

Finance

  

TreePlot

  

plot a binomial/trinomial tree

 

Calling Sequence

Parameters

Options

Description

Examples

Compatibility

Calling Sequence

TreePlot(tree, opts, plotopts)

Parameters

tree

-

binomial or trinomial tree data structure; tree

opts

-

(optional) equation(s) of the form option = value where option is scale; specify options for the TreePlot command

plotopts

-

(optional) options to be passed to the plots[display] command

Options

• 

scale = default, exponential, or logarithmic -- This option specifies whether the tree should be plotted using the exponential, logarithmic, or the default scale.

Description

• 

The TreePlot command plots the specified binomial/trinomial tree.

• 

The tree is displayed using the plots[display] command. All unprocessed arguments are interpreted as plot options and will be passed to the plots[display] command when the final plot data structure is generated.

Examples

Construct a Cox-Ross-Rubinstein binomial tree.

(1)

(2)

(3)

(4)

(5)

(6)

(7)

(8)

(9)

Here is a Jarrow-Rudd tree approximating the same process.

(10)

(11)

(12)

(13)

Here is a trinomial tree obtained by combining two steps of the Jarrow-Rudd tree.

(14)

(15)

(16)

(17)

(18)

The following is a tree created for a Cox-Ingersoll-Ross short rate model.

The command to create the plot from the Plotting Guide is

(19)

(20)

Compatibility

• 

The Finance[TreePlot] command was introduced in Maple 15.

• 

For more information on Maple 15 changes, see Updates in Maple 15.

See Also

Finance[BinomialTree]

Finance[BlackScholesBinomialTree]

Finance[BlackScholesTrinomialTree]

Finance[GetDescendants]

Finance[GetProbabilities]

Finance[GetUnderlying]

Finance[ImpliedBinomialTree]

Finance[ImpliedTrinomialTree]

Finance[LatticeMethods]

Finance[SetProbabilities]

Finance[SetUnderlying]

Finance[StochasticProcesses]

Finance[TreePlot]

Finance[TrinomialTree]

 


Download Help Document