Skip to content

Commit

Permalink
changed
Browse files Browse the repository at this point in the history
  • Loading branch information
rajarshitiwari committed Jan 16, 2024
1 parent 01efa58 commit 02bd488
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 149 deletions.
45 changes: 44 additions & 1 deletion pyqm-week5/README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,42 @@
# Week 5 Contents
# Week 5: Matplotlib

## 5.1 - Line Plots - [[Notebook]](./notebooks/pyqm-5.1-line-plots.ipynb) - [[Video]](https://www.youtube.com/watch?v=D50f3tPYUiM)

- Using plt.plot
- Plotting a line between two points
- Plotting line between multiple points
- Plotting a function
- Plotting two lines in the same figure
- Plot Aesthetics
- Changing line colour
- Changing line width
- Changing line style
- Changing marker style
- Axis Formatting
- Setting limits
- Changing ticks
- Adding grids
- Labels
- Adding a title
- Labeling axes
- Error Bars
- Asymptotes and Annotations
- Log Plots
- Making log-log plots
- Making semi-log plots
- Figure Object
- Creating a figure
- Adding axes to figure
- Adjusted functions
- Saving an image

## 5.2 - Multiple and Alternative Plots - [[Notebook]](./notebooks/pyqm-5.2-multiple-and-alternative-plots.ipynb) - [[Video]](https://www.youtube.com/watch?v=842vyBG-apQ)

- Subplots
- Making sub-plots using `plt.subplot()`
- Plots in Plots
- Making sub-plots using `fig.add_subplot()`
- Making sub-plots using `plt.subplots()`
- Histograms
- Scatter Plot
- Bar Chart
Expand All @@ -26,3 +49,23 @@
- Surface Plot
- Interactive Backend
- Animation
- Making an initialisation function
- Making an animation function
- Animating a plot
- Saving an animation

## 5.4 [Cheatsheet](./notebooks/pyqm-5.4-cheatsheet.ipynb)

## 5.5 [Tutorial](Week5_Exercises/PyQM_Tut.5.ipynb)
1. Noise in qubits
2. Particle in a Box
3. Normal Distribution
4. Monte Carlo $\pi$ Estimation
5. Ball Animation

## 5.6 [Exercises](Week5_Exercises/PyQM_Ex.5.ipynb)
1. Settlers of Histogram
2. Normal Distribution
3. Particle in a Box
4. Plotting a Sphere
5. Snake Animation
148 changes: 0 additions & 148 deletions pyqm-week5/pyqm-5.0-overview.ipynb

This file was deleted.

0 comments on commit 02bd488

Please sign in to comment.