Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing axis titles on plots #128

Open
ThambithuraiD opened this issue Dec 14, 2021 · 2 comments
Open

Changing axis titles on plots #128

ThambithuraiD opened this issue Dec 14, 2021 · 2 comments

Comments

@ThambithuraiD
Copy link

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

@astasenko1989
Copy link

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

thanks so much!

@ZHANGROU-99
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants