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

Add subtitle argument to visualization (create) functions #41

Open
grigory93 opened this issue May 5, 2016 · 2 comments
Open

Add subtitle argument to visualization (create) functions #41

grigory93 opened this issue May 5, 2016 · 2 comments
Assignees
Milestone

Comments

@grigory93
Copy link
Contributor

grigory93 commented May 5, 2016

Subtitle renders in smaller font just under the main plot title. Using following code:

ggtitle(expression(atop("Main Title", atop("Subtitle"), "")))
@grigory93 grigory93 self-assigned this May 9, 2016
@grigory93 grigory93 added this to the release 0.5.2 milestone May 9, 2016
@grigory93
Copy link
Contributor Author

Final code looks as follows:
bquote(atop(bold(.(title)), atop(.(subtitle)),""))

@grigory93
Copy link
Contributor Author

grigory93 commented Nov 19, 2016

change implementation to use new feature in ggplot 2.2.0 to use subtitle and caption.
See: https://www.r-bloggers.com/ggplot2-2-2-0/?utm_source=feedburner&utm_medium=email&utm_campaign=Feed%3A+RBloggers+%28R+bloggers%29

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

No branches or pull requests

1 participant