Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • maybe first check what values you have in P and tau. Maybe it needs more values in first part. You could also check how it looks when you draw only first part in resized window. Commented 17 hours ago
  • @furas What do you mean? tau is a parameter used for calculating P (see the code). t defines the number of plotted points. Commented 17 hours ago
  • what is green line with name tau? is it for variable tau or other variable? If it is different variable then check values in other variable Commented 17 hours ago
  • The green line is (dP_dtau - dP_dtau.min()) / (dP_dtau.max() - dP_dtau.min()) against t. Please read the code block, you will find everything in there. I admit that the labelling might be a bit misleading if only looking at the figures. Commented 17 hours ago
  • 1
    You have asked np.logspace to generate 4 points on the range [1...10^5].. Why are you surprised that you are seeing plotting artefacts? 40 is a more reasonable number (50 is the default). Commented 17 hours ago