Spec-Zone.ru › Matplotlib 3.0

matplotlib.pyplot.xlabel

matplotlib.pyplot.xlabel(xlabel, fontdict=None, labelpad=None, **kwargs) [source]

Установите метку для оси x.

Параметры:
xlabel : str

Текст метки.

labelpad : scalar, optional, default: None

Отступ в пунктах между меткой и осью x.

Другие параметры:
**kwargs : Text properties

Text свойства управляют внешним видом метки.

См. также

text
для получения информации о том, как переопределить и использовать необязательные аргументы

Примеры использования matplotlib.pyplot.xlabel

../../_images/sphx_glr_nan_test_thumb.png

Тест на NaN

../../_images/sphx_glr_scatter_symbol_thumb.png

Символ разброса

../../_images/sphx_glr_axes_demo_thumb.png

Демонстрация осей

../../_images/sphx_glr_invert_axes_thumb.png

Инвертировать оси

../../_images/sphx_glr_subplot_thumb.png

Несколько подграфиков

../../_images/sphx_glr_multiline_thumb.png

Многострочный

../../_images/sphx_glr_text_fontdict_thumb.png

Управление стилем текста и меток с помощью словаря

../../_images/sphx_glr_pyplot_mathtext_thumb.png

Pyplot Mathtext

../../_images/sphx_glr_pyplot_text_thumb.png

Текст Pyplot

../../_images/sphx_glr_plot_solarizedlight2_thumb.png

Стиль темы Solarized Light

../../_images/sphx_glr_xkcd_thumb.png

XKCD

../../_images/sphx_glr_findobj_demo_thumb.png

Демонстрация Findobj

../../_images/sphx_glr_plotfile_demo_thumb.png

Демонстрация Plotfile

../../_images/sphx_glr_custom_scale_thumb.png

Настройка шкалы

../../_images/sphx_glr_pgf_fonts_thumb.png

Шрифты Pgf

../../_images/sphx_glr_pgf_preamble_sgskip_thumb.png

Преамбула Pgf

../../_images/sphx_glr_pgf_texsystem_thumb.png

Система Pgf Tex

../../_images/sphx_glr_usage_thumb.png

Руководство по использованию

../../_images/sphx_glr_pyplot_thumb.png

Учебник по Pyplot

© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.0.0/api/_as_gen/matplotlib.pyplot.xlabel.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API