Timeline for Weird output when plot piecewise continuous and periodic functions
Current License: CC BY-SA 4.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 9, 2022 at 5:18 | vote | accept | MathFail | ||
Sep 8, 2022 at 13:07 | comment | added | Bob Hanlon |
Try increasing MaxRecursions that should enable smaller values for PlotPoints
|
|
Sep 8, 2022 at 12:00 | history | tweeted | twitter.com/StackMma/status/1567845211186806784 | ||
Sep 8, 2022 at 7:42 | answer | added | cvgmt | timeline score: 6 | |
Sep 8, 2022 at 6:45 | comment | added | MathFail | It doesn't work, still having those breaking spacings @BobHanlon | |
Sep 7, 2022 at 18:51 | comment | added | Bob Hanlon |
Try Plot[Sum[g[x, k], {k, 0, 3}] // PiecewiseExpand // Evaluate, {x, -1, 2}, AspectRatio -> 1/2]
|
|
Sep 7, 2022 at 18:39 | comment | added | MathFail | Thank you for the suggestion. Yes, after I set PlotPoints->5000, there is no those gaps anymore, but this will make the running very slow to generate the plot. I don't understand why this happens... | |
Sep 7, 2022 at 18:37 | history | edited | MathFail | CC BY-SA 4.0 |
added 13 characters in body
|
Sep 7, 2022 at 18:33 | comment | added | MarcoB |
I can't reproduce that behavior Mathematica version 13. Can you see if adding an explicit PlotPoints option improves the situation?
|
|
S Sep 7, 2022 at 18:07 | review | First questions | |||
Sep 7, 2022 at 18:58 | |||||
S Sep 7, 2022 at 18:07 | history | asked | MathFail | CC BY-SA 4.0 |