Open jxu opened 5 years ago
Just specifying labs doesn't make the labels appear.
For me axis.title.y must be specified in a theme for the text to show up. For example:
axis.title.y
dend %>% ggplot() + labs(y = "Pairwise Euclidean Distance") + theme(axis.title.y = element_text(angle = 90))
For horizontal dendrograms, y is specified to labs(), but now we need axis.title.x in theme(). I could only get text to show up by specifying color = "black". Not sure why. Related #25
y
labs()
axis.title.x
theme()
color = "black"
dend %>% ggplot() + labs(y = "Pairwise Euclidean Distance") + theme(axis.title.x = element_text(color = "black"))
Just specifying labs doesn't make the labels appear.
For me
axis.title.y
must be specified in a theme for the text to show up. For example:For horizontal dendrograms,
y
is specified tolabs()
, but now we needaxis.title.x
intheme()
. I could only get text to show up by specifyingcolor = "black"
. Not sure why. Related #25