Timeline for Fixing plotting artifacts
Current License: CC BY-SA 4.0
Post Revisions
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| 18 hours ago | history | edited | Márton Horváth | CC BY-SA 4.0 | clarification based on answer |
| 19 hours ago | comment | added | Márton Horváth | @MartinBrown This is not how np.logspace works, please look up the documentation before commenting next time. I actually created 10**5 data points between 1 and 10**4 | |
| 19 hours ago | vote | accept | Márton Horváth | ||
| 19 hours ago | comment | added | Martin Brown | 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). | |
| 19 hours ago | answer | added | MrXerios | timeline score: 4 | |
| 19 hours ago | comment | added | furas | so check what values you get with (dP_dtau - dP_dtau.min()) / (dP_dtau.max() - dP_dtau.min()). Maybe first part gives only two values which create line instead of curver. | |
| 19 hours ago | comment | added | Márton Horváth | 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. | |
| 19 hours ago | comment | added | furas | 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 | |
| 19 hours ago | comment | added | Márton Horváth | @furas What do you mean? tau is a parameter used for calculating P (see the code). t defines the number of plotted points. | |
| 19 hours ago | comment | added | furas | 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. | |
| 19 hours ago | history | asked | Márton Horváth | CC BY-SA 4.0 |