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*

6
  • $\begingroup$ Hi Alexei, thanks very much! This works well for the MWE I posted in the example. Sadly, I didn't realise that I had changed something important in the MWE, and my original issue is still not sorted. I'm going to update the question now. Very sorry for this. $\endgroup$ Commented Jun 16, 2021 at 15:27
  • $\begingroup$ Also, I don't really have any idea what "the line I'm looking for" is, could you explain a little? $\endgroup$ Commented Jun 16, 2021 at 15:27
  • 1
    $\begingroup$ Have a look at the edit. $\endgroup$ Commented Jun 16, 2021 at 19:57
  • $\begingroup$ Cases[p, Line[p_] :> p, All][[1]] gives the complete list of points $\endgroup$ Commented Jun 17, 2021 at 8:13
  • $\begingroup$ @Ulrich Neumann In general, I also thought like this. However, if you do the following: lst = Cases[p, Line[p_] :> p, All][[1]]; ListPlot[lst] you will see the difference between the plot obtained like this and the original one. Only take care that p should be taken from the newly edited OP code. $\endgroup$ Commented Jun 17, 2021 at 11:06