Discussion Overview
The discussion revolves around extracting numerical data from the output of Mathematica's NDSolve function for use in Gnuplot. Participants explore methods to convert the solutions of differential equations into a format suitable for plotting outside of Mathematica, including generating tables of values and handling parametric plots.
Discussion Character
- Technical explanation
- Exploratory
- Homework-related
Main Points Raised
- One participant seeks a method to export data from Mathematica's NDSolve output in a usable text format for Gnuplot, expressing difficulty with the default output format.
- Another participant demonstrates how to generate a table of data from an InterpolatingFunction created by NDSolve, suggesting the use of the Table function to create a dataset.
- It is noted that the raw data generated by NDSolve can be accessed using the Sow/Reap method, allowing for extraction of the computed values directly.
- Participants discuss the importance of file format when exporting data, with suggestions to use specific formats like TSV to ensure compatibility with other software.
- A follow-up question is raised about extracting data for parametric plots, leading to a discussion on transforming the original differential equations into a first-order system for easier data extraction.
- Further examples are provided on how to visualize the data using various plotting functions in Mathematica, including GraphicsGrid and ListPlot.
Areas of Agreement / Disagreement
Participants generally agree on the methods for extracting data from NDSolve and the importance of formatting for external use, but there is no consensus on the best approach for handling parametric plots, as one participant expresses confusion about the Mathematica language.
Contextual Notes
Some participants note limitations in understanding the Mathematica language, which may affect their ability to implement the suggested methods effectively. There are also references to specific Mathematica functions and options that may require further exploration to fully grasp their implications.
Who May Find This Useful
This discussion may be useful for users of Mathematica who are looking to export numerical data for use in other plotting software, particularly those working with differential equations and parametric plots.