.. _sphx_glr_gallery_text_labels_and_annotations: .. _text_labels_and_annotations: Text, labels and annotations ============================ .. raw:: html
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_accented_text_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_accented_text.py` .. raw:: html
Accented text
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_align_ylabels_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_align_ylabels.py` .. raw:: html
Align y-labels
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_angle_annotation_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_angle_annotation.py` .. raw:: html
Scale invariant angle label
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_angles_on_bracket_arrows_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_angles_on_bracket_arrows.py` .. raw:: html
Angle annotations on bracket arrows
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_annotate_transform_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_annotate_transform.py` .. raw:: html
Annotate Transform
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_annotation_basic_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_annotation_basic.py` .. raw:: html
Annotating a plot
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_annotation_demo_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_annotation_demo.py` .. raw:: html
Annotating Plots
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_annotation_polar_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_annotation_polar.py` .. raw:: html
Annotation Polar
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_arrow_demo_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_arrow_demo.py` .. raw:: html
Arrow Demo
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_autowrap_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_autowrap.py` .. raw:: html
Auto-wrapping text
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_custom_legends_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_custom_legends.py` .. raw:: html
Composing Custom Legends
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_date_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_date.py` .. raw:: html
Date tick labels
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_demo_annotation_box_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_demo_annotation_box.py` .. raw:: html
AnnotationBbox demo
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_demo_text_path_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_demo_text_path.py` .. raw:: html
Using a text as a Path
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_demo_text_rotation_mode_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_demo_text_rotation_mode.py` .. raw:: html
Text Rotation Mode
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_dfrac_demo_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_dfrac_demo.py` .. raw:: html
The difference between \dfrac and \frac
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_engineering_formatter_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_engineering_formatter.py` .. raw:: html
Labeling ticks using engineering notation
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_fancyarrow_demo_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_fancyarrow_demo.py` .. raw:: html
Annotation arrow style reference
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_fancytextbox_demo_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_fancytextbox_demo.py` .. raw:: html
Styling text boxes
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_figlegend_demo_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_figlegend_demo.py` .. raw:: html
Figure legend demo
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_font_family_rc_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_font_family_rc.py` .. raw:: html
Configuring the font family
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_font_file_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_font_file.py` .. raw:: html
Using ttf font files
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_font_table_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_font_table.py` .. raw:: html
Font table
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_fonts_demo_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_fonts_demo.py` .. raw:: html
Fonts demo (object-oriented style)
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_fonts_demo_kw_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_fonts_demo_kw.py` .. raw:: html
Fonts demo (keyword arguments)
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_label_subplots_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_label_subplots.py` .. raw:: html
Labelling subplots
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_legend_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_legend.py` .. raw:: html
Legend using pre-defined labels
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_legend_demo_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_legend_demo.py` .. raw:: html
Legend Demo
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_line_with_text_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_line_with_text.py` .. raw:: html
Artist within an artist
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_mathtext_asarray_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_mathtext_asarray.py` .. raw:: html
Convert texts to images
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_mathtext_demo_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_mathtext_demo.py` .. raw:: html
Mathtext
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_mathtext_examples_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_mathtext_examples.py` .. raw:: html
Mathtext Examples
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_mathtext_fontfamily_example_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_mathtext_fontfamily_example.py` .. raw:: html
Math fontfamily
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_multiline_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_multiline.py` .. raw:: html
Multiline
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_placing_text_boxes_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_placing_text_boxes.py` .. raw:: html
Placing text boxes
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_rainbow_text_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_rainbow_text.py` .. raw:: html
Concatenating text objects with different properties
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_stix_fonts_demo_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_stix_fonts_demo.py` .. raw:: html
STIX Fonts
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_tex_demo_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_tex_demo.py` .. raw:: html
Rendering math equations using TeX
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_text_alignment_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_text_alignment.py` .. raw:: html
Text alignment
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_text_commands_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_text_commands.py` .. raw:: html
Text Commands
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_text_fontdict_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_text_fontdict.py` .. raw:: html
Controlling style of text and labels using a dictionary
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_text_rotation_relative_to_line_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_text_rotation_relative_to_line.py` .. raw:: html
Text Rotation Relative To Line
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_titles_demo_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_titles_demo.py` .. raw:: html
Title positioning
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_unicode_minus_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_unicode_minus.py` .. raw:: html
Unicode minus
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_usetex_baseline_test_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_usetex_baseline_test.py` .. raw:: html
Usetex Baseline Test
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_usetex_fonteffects_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_usetex_fonteffects.py` .. raw:: html
Usetex Fonteffects
.. raw:: html
.. only:: html .. image:: /gallery/text_labels_and_annotations/images/thumb/sphx_glr_watermark_text_thumb.png :alt: :ref:`sphx_glr_gallery_text_labels_and_annotations_watermark_text.py` .. raw:: html
Text watermark
.. raw:: html
.. toctree:: :hidden: /gallery/text_labels_and_annotations/accented_text /gallery/text_labels_and_annotations/align_ylabels /gallery/text_labels_and_annotations/angle_annotation /gallery/text_labels_and_annotations/angles_on_bracket_arrows /gallery/text_labels_and_annotations/annotate_transform /gallery/text_labels_and_annotations/annotation_basic /gallery/text_labels_and_annotations/annotation_demo /gallery/text_labels_and_annotations/annotation_polar /gallery/text_labels_and_annotations/arrow_demo /gallery/text_labels_and_annotations/autowrap /gallery/text_labels_and_annotations/custom_legends /gallery/text_labels_and_annotations/date /gallery/text_labels_and_annotations/demo_annotation_box /gallery/text_labels_and_annotations/demo_text_path /gallery/text_labels_and_annotations/demo_text_rotation_mode /gallery/text_labels_and_annotations/dfrac_demo /gallery/text_labels_and_annotations/engineering_formatter /gallery/text_labels_and_annotations/fancyarrow_demo /gallery/text_labels_and_annotations/fancytextbox_demo /gallery/text_labels_and_annotations/figlegend_demo /gallery/text_labels_and_annotations/font_family_rc /gallery/text_labels_and_annotations/font_file /gallery/text_labels_and_annotations/font_table /gallery/text_labels_and_annotations/fonts_demo /gallery/text_labels_and_annotations/fonts_demo_kw /gallery/text_labels_and_annotations/label_subplots /gallery/text_labels_and_annotations/legend /gallery/text_labels_and_annotations/legend_demo /gallery/text_labels_and_annotations/line_with_text /gallery/text_labels_and_annotations/mathtext_asarray /gallery/text_labels_and_annotations/mathtext_demo /gallery/text_labels_and_annotations/mathtext_examples /gallery/text_labels_and_annotations/mathtext_fontfamily_example /gallery/text_labels_and_annotations/multiline /gallery/text_labels_and_annotations/placing_text_boxes /gallery/text_labels_and_annotations/rainbow_text /gallery/text_labels_and_annotations/stix_fonts_demo /gallery/text_labels_and_annotations/tex_demo /gallery/text_labels_and_annotations/text_alignment /gallery/text_labels_and_annotations/text_commands /gallery/text_labels_and_annotations/text_fontdict /gallery/text_labels_and_annotations/text_rotation_relative_to_line /gallery/text_labels_and_annotations/titles_demo /gallery/text_labels_and_annotations/unicode_minus /gallery/text_labels_and_annotations/usetex_baseline_test /gallery/text_labels_and_annotations/usetex_fonteffects /gallery/text_labels_and_annotations/watermark_text