Question

I`m making a cluster plot from my data. I have the entire plot finished but my label text is to large to be able to properly read the plot. Anyone any idea how to make labels smaller.

I am using the package "sparcl", and my function is:

ColorDendrogram(fit,y=col.int, main = "Clusters from 216 samples",
                branchlength = 0.20, labels = fit$labels, xlab = NULL,
                sub = NULL, ylab = "", cex.main = NULL)

enter image description here

as you can see the branch text is to big and they fall over each other. I want the text of the leaves to be 25% smaller. I already looked at the documentation of the Sparcl package but that doesn't seem to work.

Was it helpful?

Solution

before calling the plot you should call par().

par(cex=numericvalue)
ColorDendrogram(parameters)

OTHER TIPS

Have you tried giving cex.main a value? (The amount by which to enlarge the main title for the figure)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top