Discussion Overview
The discussion revolves around extracting data points from a plot generated by NDSolve in Mathematica for use in LaTeX, specifically with TikZ. Participants explore methods for obtaining these data points and share their experiences with the process.
Discussion Character
- Technical explanation
- Debate/contested
- Mathematical reasoning
Main Points Raised
- One participant seeks assistance in plotting a solution from NDSolve in LaTeX using TikZ.
- Another suggests taking a screen grab of the plot as a simpler alternative to embedding data points.
- A participant explains that the output of NDSolve is an InterpolatingFunction object and provides a method to extract interpolation points using "f[[2]]".
- Further, a participant shares code for evaluating the interpolated function at specific points, suggesting two different approaches using Table functions.
- Some participants express challenges with formatting Mathematica's output for LaTeX, noting that it can be cumbersome.
- One participant acknowledges that their initial approach was more complex than they remembered, preferring the method suggested by another participant.
Areas of Agreement / Disagreement
Participants share various methods for extracting data points, but there is no consensus on a single best approach. Some prefer direct extraction methods while others suggest alternative solutions like screen grabs.
Contextual Notes
Participants mention encountering error messages when attempting to execute certain code, indicating potential issues with their implementation or understanding of the output structure from NDSolve.