UnlabeledTree[tree]
returns a tree of the same shape as tree in which the nodes and edges are displayed without labels.
UnlabeledTree
UnlabeledTree[tree]
returns a tree of the same shape as tree in which the nodes and edges are displayed without labels.
Details and Options
- UnlabeledTree shows the overall structure of a Tree object.
- By default, UnlabeledTree gives a tree with Null as the data of each node.
- If the original tree has options, they will be modified to eliminate labels in the output.
- UnlabeledTree has the same options as Tree.
-
AlignmentPoint Center the default point in the graphic to align with AspectRatio Automatic ratio of height to width Axes False whether to draw axes AxesLabel None axes labels AxesOrigin Automatic where axes should cross AxesStyle {} style specifications for the axes Background None background color for the plot BaselinePosition Automatic how to align with a surrounding text baseline BaseStyle {} base style specifications for the graphic ContentSelectable Automatic whether to allow contents to be selected CoordinatesToolOptions Automatic detailed behavior of the coordinates tool Epilog {} primitives rendered after the main plot FormatType TraditionalForm the default format type for text Frame False whether to put a frame around the plot FrameLabel None frame labels FrameStyle {} style specifications for the frame FrameTicks Automatic frame ticks FrameTicksStyle {} style specifications for frame ticks GridLines None grid lines to draw GridLinesStyle {} style specifications for grid lines ImageMargins 0. the margins to leave around the graphic ImagePadding All what extra padding to allow for labels etc. ImageSize Automatic the absolute size at which to render the graphic LabelStyle {} style specifications for labels Method Automatic details of graphics methods to use PlotLabel None an overall label for the plot PlotRange All range of values to include PlotRangeClipping False whether to clip at the plot range PlotRangePadding Automatic how much to pad the range of values PlotRegion Automatic the final display region to be filled PreserveImageOptions Automatic whether to preserve image options when displaying new versions of the same graphic Prolog {} primitives rendered before the main plot RotateLabel True whether to rotate y labels on the frame Ticks Automatic axes ticks TicksStyle {} style specifications for axes ticks
List of all options
Examples
open all close allBasic Examples (2)
Options (4)
Styling Individual Tree Elements (1)
Tree Layout and Graphics Options (3)
Specify the orientation for the root:
UnlabeledTree[[image], TreeLayout -> Bottom]UnlabeledTree[[image], TreeLayout -> "BalloonEmbedding"]Specify Graphics options:
UnlabeledTree[[image], Background -> LightBlue, ImageSize -> 50]Properties & Relations (2)
UnlabeledTree overrides TreeElementLabel and ParentEdgeLabel specifications given by subtrees:
Tree[{Tree[None, ParentEdgeLabel -> "edge"]}, TreeElementLabel -> "node"]UnlabeledTree[%]UnlabeledTree[ExpressionTree[expr]] removes all data and labels from an expression tree:
UnlabeledTree[ExpressionTree[f[g[1, 2], x]]]ExpressionTree[expr,Null] gives an expression tree with no data directly:
ExpressionTree[f[g[1, 2], x], Null]Related Guides
History
Text
Wolfram Research (2022), UnlabeledTree, Wolfram Language function, https://reference.wolfram.com/language/ref/UnlabeledTree.html.
CMS
Wolfram Language. 2022. "UnlabeledTree." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/UnlabeledTree.html.
APA
Wolfram Language. (2022). UnlabeledTree. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/UnlabeledTree.html
BibTeX
@misc{reference.wolfram_2026_unlabeledtree, author="Wolfram Research", title="{UnlabeledTree}", year="2022", howpublished="\url{https://reference.wolfram.com/language/ref/UnlabeledTree.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_unlabeledtree, organization={Wolfram Research}, title={UnlabeledTree}, year={2022}, url={https://reference.wolfram.com/language/ref/UnlabeledTree.html}, note=[Accessed: 13-June-2026]}