How to format the numeric data at the node of decision tree graph?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Nathan L
am 22 Jul. 2017
Beantwortet: Mark Henderson
am 13 Jun. 2018
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/166222/image.jpeg)
0 Kommentare
Akzeptierte Antwort
Carl
am 24 Jul. 2017
Hi Nathan. Unfortunately, as of right now there is no way to change the format of numerical data when viewing a decision tree in graph mode. Our development team has been notified of this as a possible enhancement, and will look into it for future releases.
0 Kommentare
Weitere Antworten (1)
Mark Henderson
am 13 Jun. 2018
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.
0 Kommentare
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!