-
Notifications
You must be signed in to change notification settings - Fork 134
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
original data option for the power law plot #41
Comments
Comparing the results of this library with the results of the script by Joel Ornstein http://tuvalu.santafe.edu/~aaronc/powerlaws/, I found that the blue line in the second figure is correct, but the fit (red line) should be at the same position as in the first picture.... |
I don't understand the issue. Can you be more detailed in what you're expecting to happen, and how this is different from what you're seeing? |
What you're talking about was discussed here: @psinger implemented a proportionality constant ("shifting") capability in his fork here, but it didn't materialize into a fully-vetted pull request to merge into powerlaw. If you implement the functionality you want and make a pull request, I'll merge it in! "powerlaw is open for further development. If there's a feature you'd like to see in powerlaw, submit an issue. Pull requests and offers for expansion or inclusion in other projects are welcomed and encouraged. The original author of powerlaw, Jeff Alstott, is now only writing minor tweaks, so contributions are very helpful." |
Just to say I would also find this feature useful, i.e. it would be great to be able to see the power law fit superimposed on the full dataset, not just the dataset starting at xmin. That way, it is easy to do a visual check on whether the xmin used is sensible. |
Hi,
when I activate the original data option the plot of my sample changes but not the power law fit. I guess that is an issue, or?
Here a plots of my sample without the original data option:
With the original data option:
Here is my code:
The text was updated successfully, but these errors were encountered: