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

Choose range in Geom.histogram #347

Closed
shashi opened this issue Jul 1, 2014 · 3 comments · Fixed by #1249
Closed

Choose range in Geom.histogram #347

shashi opened this issue Jul 1, 2014 · 3 comments · Fixed by #1249

Comments

@shashi
Copy link
Collaborator

shashi commented Jul 1, 2014

I have a vector of numbers guaranteed to be between -1.0 and 1.0 that I want to create histograms with 4 bins from. At times, the input vector does not contain values in the range -0.1 to -0.5, in which case I get a histogram with 4 bars between -0.5-1.0. Is there a way to still have the histogram between -1 to 1 where the first bar denotes 0?

@shashi
Copy link
Collaborator Author

shashi commented Jul 1, 2014

I could do this with Geom.bar easily enough, so this might be a non-issue.

@dcjones
Copy link
Collaborator

dcjones commented Jul 2, 2014

There's not a way to do this now short of manually with Geom.bar. I think there should be though.

@dlfivefifty
Copy link

+1

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

Successfully merging a pull request may close this issue.

3 participants