Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
Finance[TreePlot] - plot a binomial/trinomial tree
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
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.
Options
scale = default, exponential, or logarithmic -- This option specifies whether the tree should be plotted using the exponential, logarithmic, or the default scale.
Compatibility
The Finance[TreePlot] command was introduced in Maple 15.
For more information on Maple 15 changes, see Updates in Maple 15.
Examples
Construct a Cox-Ross-Rubinstein binomial tree.
Here is a Jarrow-Rudd tree approximating the same process.
Here is a trinomial tree obtained by combining two steps of the Jarrow-Rudd tree.
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
See Also
Finance[BinomialTree], Finance[BlackScholesBinomialTree], Finance[BlackScholesTrinomialTree], Finance[GetDescendants], Finance[GetProbabilities], Finance[GetUnderlying], Finance[ImpliedBinomialTree], Finance[ImpliedTrinomialTree], Finance[LatticeMethods], Finance[MultinomialTree], Finance[SetDescendants], Finance[SetProbabilities], Finance[SetUnderlying], Finance[StochasticProcesses], Finance[TreePlot], Finance[TrinomialTree]
Download Help Document