How to format the numeric data at the node of decision tree graph?
Show older comments
Hi, is there a way to set number of decimal places for number showing at each of the decision tree nodes? I am trying to limit the numeric data to only two decimal places. Thank you.

Accepted Answer
More Answers (1)
Mark Henderson
on 13 Jun 2018
0 votes
Workaround: save the graph as an SVG file, then edit the SVG code. To declutter the graph you can remove all of the left branch text (<), which is grouped in one section of the SVG file, since the right branch text (>=) is sufficient.
Categories
Find more on Classification Trees in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!