Timeline for Histogram[list] gives wrong image
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 22, 2017 at 4:19 | comment | added | Yuan Gao Alex | @JimBaldwin that's correct there is no meaning in using log scale for the value of data. Bad habit identified. | |
Aug 22, 2017 at 4:18 | comment | added | Yuan Gao Alex | @aardvark2012 it seems there is a simpler way that can fix the problem, see the answer below. Thanks anyway! | |
Aug 22, 2017 at 4:13 | vote | accept | Yuan Gao Alex | ||
Aug 21, 2017 at 14:50 | comment | added | JimB |
While you'll likely find a different view from others on this forum, I say it makes absolutely no sense to use a log scale on the vertical axis for histograms (and nonparametric density estimates from SmoothHistogram and SmoothDensityHistogram ) which destroys the ability to make "equal total area" comparisons among datasets. (Just because there's an option to do so doesn't mean that one should.) What does make sense for this data is to take the log of the data and then produce the histogram: Histogram[Log[a0sim]] .
|
|
Aug 21, 2017 at 14:08 | answer | added | david | timeline score: 0 | |
Aug 21, 2017 at 12:14 | comment | added | aardvark2012 |
Your code worked fine for me -- I got a perfectly nice plot from Histogram[a0sim] . What version are you using? Re: the disappearing elements in the LogLog plot: my first guess is that there's something weird about the bins. As far as I know (which isn't very far), ScalingFunctions only affects the display, not the bins. So if your bin widths are of the order 10^10 or 10^11, there's only going to be one bin covering most of the plot. Not sure why it's not showing up (I get a single spike in your empty half).
|
|
Aug 21, 2017 at 10:43 | history | edited | corey979 | CC BY-SA 3.0 |
deleted 81 characters in body
|
Aug 21, 2017 at 9:47 | history | asked | Yuan Gao Alex | CC BY-SA 3.0 |