Beruflich Dokumente
Kultur Dokumente
– %matplotlib inline
– %matplotlib notebook
or
Unlike plt.plot this function does not take into account the order of
our data and plots it as a marker.
3. Error Bars
- We can create mock errors for
each point by multiplying x and y
by an arbitrary value
(this case – 5%)
plot_1.png
plot_2.png
5. Customising our plots
• Figure size
• Scale of axes (log, linear etc.)
• Title
• Axis Labels
• Limits to plot (allowing to zoom in/out)
• Font size (labels, legend, ticks on axes)
7. Twin Axis
• If we want to plot two things to compare, we will need two y-axes