diff options
| author | Christian Kolset <christian.kolset@gmail.com> | 2025-12-03 15:50:47 -0700 |
|---|---|---|
| committer | Christian Kolset <christian.kolset@gmail.com> | 2025-12-03 15:50:47 -0700 |
| commit | 5b9fd00087ca8594ddb716134cd210a9f9ae5876 (patch) | |
| tree | 8fbbaee2ba680ae3d3116abede779c7f834c9b53 /tutorials/module_4/4.7 Data Visualization and Presentation.md | |
| parent | 7a713b1e67a255c285eef45d172ba0a1286987c3 (diff) | |
Made some updates to older files and renamed files. Also updated README.md
Diffstat (limited to 'tutorials/module_4/4.7 Data Visualization and Presentation.md')
| -rw-r--r-- | tutorials/module_4/4.7 Data Visualization and Presentation.md | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/tutorials/module_4/4.7 Data Visualization and Presentation.md b/tutorials/module_4/4.7 Data Visualization and Presentation.md deleted file mode 100644 index f97721b..0000000 --- a/tutorials/module_4/4.7 Data Visualization and Presentation.md +++ /dev/null @@ -1,72 +0,0 @@ -#data #visualization -# Data Visualization and Presentation - -## How to represent data scientifically - -Remember PCC: -1. Purpose -2. Composition -3. Color - -## Plotting with Matplotlib -### Simple plot -You've probably seen the `matplotlib` package being imported at the top of the scripts. Matplotlib allows us to create static, animated and interactive visualizations in Python. It can even create publication quality plots. - -Initialize -```python -import numpy as np -import matplotlib.pyplot as plt -``` -Prepare data -```python -x = np.linspace(0,10*np.pi,1000) -y = np.sin(x) -``` -Render -```python -fig, ax = plt.subplots() -ax.plot(X,Y) -plt.show() -``` - - -### Customizing plots -subplots, twin axis, labels, annotations - -Colormaps and figure aesthetics. - - - - -### Other types of plots -- `scatter` -- `bar` -- `imshow` -- `contourf` -- `pie` -- `hist` -- `errorbar` -- `boxplot` - -## Plotting different types of data - - - -## Plotting for reports and publication quality graphs -Now that you've - - -### Saving figures -save formats - figure size - bitmap vs vector format - - - - -## Problem: -Using pandas to plot spectroscopy data from raw data - - -## Problem: -Create a muli-panel figure showing raw data, fitted curve and residuals. Format with consistent style, legend, and color scheme for publication-ready quality.
\ No newline at end of file |
