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 option for title on plots #45

Closed
rlshuhart opened this issue Feb 26, 2017 · 2 comments
Closed

Add option for title on plots #45

rlshuhart opened this issue Feb 26, 2017 · 2 comments

Comments

@rlshuhart
Copy link

@rlshuhart rlshuhart commented Feb 26, 2017

Thanks for the library!

Would it be possible to add an option for a title to the plots?

I think all it would require is
function(data, title=NULL) {
[ggplot code] +
ggtitle(title)

Ryan

@boxuancui
Copy link
Owner

@boxuancui boxuancui commented Feb 28, 2017

Hi, there are two types of titles for multiple plots:

  1. A single title on top of all plots
  2. Individual title for each plot

The package uses gridExtra to manage layout, so adding titles could be more than just ggtitle(...). On the other hand, if you would like to add a title for each plot, ggtitle(...) needs to handle each plot dynamically, instead of a fixed string.

Which one is your use case?

@boxuancui boxuancui self-assigned this Feb 28, 2017
@rlshuhart
Copy link
Author

@rlshuhart rlshuhart commented Mar 1, 2017

I personally would have more of the use case for a single title on top of a plot or grid of plots.

Thanks!

@boxuancui boxuancui modified the milestone: 0.5.0 Aug 10, 2017
boxuancui added a commit that referenced this issue Dec 23, 2017
@boxuancui boxuancui closed this Dec 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.