ACCLAB/dabestr

Changing axis titles on plots

ThambithuraiD opened this issue · 2 comments

Hi,

I was wondering whether it was possible to change the yaxis and xaxis titles as is commonly done in ggplot2? Typically I would use something like ylab("Preferred title") to change what is currently "Sepal.Length". I know I can pass theme arguments by using theme =, but there doesn't seem to be aything related to changing things like titles.

For instance, given:

library(tidyverse) library(dabestr)

figure = multi.group.mean %>% plot ( color.column = Species, tick.fontsize = 14, axes.title.fontsize = 14 )

multi.group.mean <- mean_diff(multi.group)

figure

image

How would I go about changing yaxis title in top pane, or even the axis text?

Cheers

Hello,
I was wondering if there is a resolution to changing axes labels?

thanks so much!

Hi @ThambithuraiD @astasenko1989,

Thank you for contacting us. You can specipy rawplot.ylabel and effsize.ylabel to customize y labels,

e.g. multi.group.mean_diff%>% plot(rawplot.ylabel="raw data label",effsize.ylabel="effect size label")

Hope this helps!