How to adjust sizes of x-axis in dendrogram (R)? -


I would like to adjust the X-X in a denorder, where all the labels can be seen for large data sets. For example, I use iris data here:

  & gt; Iris.data = subset (iris, select = - space) & gt; D & lt; - dist (iris.data, method = "euclidean") & gt; HC & lt; - HClLost (D, "Ward") & gt; After using the plot function, the dendrogram will be like this:   

Plot (HC, hang = -1, main = "dendrod of the method of ward", label = iris $ species) / P>

Enter image details here

So, how are I going To accommodate X-X, all the species are clearly seen. Like: @ Roman Lua Trik said: You can do this:

 

png ("plotdendogram.png", width = 1600, height = 800) plot (cex = 1, font = 3) plot (hc, hang = -1, main = "dendrod method of ward", label = Iris $ species) dev.off ()

You will be able to see the names of the species, although in small font sizes Hope it helps.

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -