User Tools

Site Tools


other:python:matplotlib_by_jyp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
other:python:matplotlib_by_jyp [2023/10/25 13:52]
jypeter [Starting (and more) with matplotlib] Slight update of the Axes documentation
other:python:matplotlib_by_jyp [2023/10/25 14:10]
jypeter [Useful matplotlib reference pages] How to change cb labels font properties
Line 188: Line 188:
     * [[https://​matplotlib.org/​stable/​gallery/​subplots_axes_and_figures/​colorbar_placement.html|Placing colorbars demo]]     * [[https://​matplotlib.org/​stable/​gallery/​subplots_axes_and_figures/​colorbar_placement.html|Placing colorbars demo]]
     * [[https://​matplotlib.org/​stable/​gallery/​images_contours_and_fields/​contourf_demo.html|contourf + colorbar demo]]     * [[https://​matplotlib.org/​stable/​gallery/​images_contours_and_fields/​contourf_demo.html|contourf + colorbar demo]]
 +    * Changing the [[https://​matplotlib.org/​stable/​api/​axes_api.html#​ticks-and-tick-labels|ticks and tick labels]] of a colorbar:
 +      * This can be done by manipulating the properties of the //Axes// where the colorbar is plotted\\ e.g. change the tick labels font size with\\ ''​cb.ax.tick_params(labelsize='​xx-large'​)''​ (where ''​cb''​ is a //​colorbar//​ object)
   * [[https://​matplotlib.org/​api/​_as_gen/​matplotlib.pyplot.text.html|text(...)]] and [[https://​matplotlib.org/​tutorials/​text/​annotations.html|annotations]]   * [[https://​matplotlib.org/​api/​_as_gen/​matplotlib.pyplot.text.html|text(...)]] and [[https://​matplotlib.org/​tutorials/​text/​annotations.html|annotations]]
     * Some titles:     * Some titles:
other/python/matplotlib_by_jyp.txt · Last modified: 2023/10/26 08:39 by jypeter