文本、标签和注释#

带重音的文本

Accented text

对齐 y 轴标签

Align y-labels

尺度不变角度标签

Scale invariant angle label

括号箭头上的角度注释

Angle annotations on bracket arrows

注释变换

Annotate transform

注释图表

Annotating a plot

标注图表

Annotate plots

注释极坐标图

Annotate polar plots

Arrow 演示

Arrow Demo

自动换行文本

Auto-wrap text

自定义图例

Compose custom legends

日期刻度标签

Date tick labels

AnnotationBbox 演示

AnnotationBbox demo

将文本用作路径

Using a text as a Path

文本旋转模式

Text rotation mode

\dfrac 和 \frac 之间的区别

The difference between \dfrac and \frac

使用工程记数法格式化刻度

Format ticks using engineering notation

注释箭头样式参考

Annotation arrow style reference

文本框样式

Styling text boxes

图例演示

Figure legend demo

配置字体族

Configure the font family

使用 ttf 字体文件

Using ttf font files

字体表

Font table

字体演示(面向对象风格)

Fonts demo (object-oriented style)

字体演示 (关键字参数)

Fonts demo (keyword arguments)

子图标签

Labelling subplots

使用预定义标签的图例

Legend using pre-defined labels

图例演示

Legend Demo

艺术家中的艺术家

Artist within an artist

将文本转换为图像

Convert texts to images

数学文本

Mathtext

数学表达式

Mathematical expressions

数学字体

Math fontfamily

多行

Multiline

放置文本框

Placing text boxes

连接具有不同属性的文本对象

Concatenate text objects with different properties

STIX 字体

STIX Fonts

使用 TeX 渲染数学方程

Render math equations using TeX

文本对齐

Text alignment

文本属性

Text properties

使用字典控制文本和标签的样式

Controlling style of text and labels using a dictionary

数据坐标中的文本旋转角度

Text rotation angle in data coordinates

标题定位

Title positioning

Unicode 减号

Unicode minus

Usetex 文本基线

Usetex text baseline

Usetex 字体效果

Usetex font effects

文本水印

Text watermark