ChEn263 — Lecture 8
Lecture 8 - File I/O and Plotting
- This lecture discusses fundamental concepts needed for reading and saving data from text files (File I/O). These notes are relatively short, but there are more extensive examples for this lecture.
Examples
- The video below shows how to perform File I/O in Excel and how to make scatter plots.
- Example - File I/O and Plotting in Excel
- The video below shows how to perform File I/O in Python using
loadtxt
andsavetxt
and how to make scatter plots using thematplotlib.pyplot
module.
- Example - File I/O and Plotting in Python
- Data Files. This zipped file contains data needed for the examples. Unzip and uncompress the file to access the data files.