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

How to change the size of columns name and percentage when using vis_miss()? And how to rotate the plot title according to this plot? #63

Closed
koliajaykr opened this issue Jan 5, 2018 · 5 comments

Comments

@koliajaykr
Copy link

Your package is very useful. Just I was not able to find out how to reduce the top clutter in the attached plot

screenshot from 2018-01-05 11-45-17

@koliajaykr koliajaykr changed the title How to change the size of columns name and percentage when using vis_miss()? How to change the size of columns name and percentage when using vis_miss()? And how to rotate the plot title according to this plot? Jan 5, 2018
@njtierney
Copy link
Collaborator

Good question, this is a tricky issue, I think I'll have to build in some sensible defaults that cut off the axis labels, but knowing at which size to do this could be a bit tricksy. This should be looked at in the next feature release.

RE rotating the plot, you should be able to do this:

library(ggplot2)
visdat::vis_miss(airquality) + 
  labs(title = "Figure 1 - missingness of Airquality data")

Created on 2018-02-11 by the reprex package (v0.2.0).

@koliajaykr
Copy link
Author

Thank you @njtierney for replying my question. I guess you are suggesting me to plot it in landscape. I already plot the figure in landscape. Did I understand your suggestion correctly?

@njtierney
Copy link
Collaborator

Ah, my apologies, I had thought that you were asking about how to move the figure title, in addition to your comment about the cluttered labels - are you asking about the figure caption?

@koliajaykr
Copy link
Author

Thanks for your suggestion for figure caption. It seems that figure caption is okay except its layout. My main issue is with the cluttered labels in the plot.

@njtierney
Copy link
Collaborator

Thanks for posting this issue - trying to fix the text clutter is a tricky topic, and I think it is important to address.

I'm going to close this issue now, as the text clutter issue is discussed in #9

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

2 participants