I have some data and code and I am producing a dendrogram using the proc tree statement as I have been instructed to do so.
However, my dataset has multiple thousands of observations, and printing thousands of labels for each observation is visually impractical. I would like to remove the labels from the x-axis of the dendrogram by amending the proc tree code, but I can't figure out how. The only thing I could find online to try was haxis=none, but that did not work.
Any advice?
It may help to show your proc tree code. Better would be to include a data step which reproduces some example data.
What other instructions were provided? If none, show who ever requested this the result and ask them if that is the desired output. Perhaps you should share all the "instructions" you were given.
How do you intend to interpret the graph without any axis labels?
And why would there be "thousands of labels" for each observation? The tree should show one point fore each value of a single variable. It sounds like perhaps you have a bad data model or structure to begin with.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Early bird rate extended! Save $200 when you sign up by March 31.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.