You are reading documentation for the unreleased version of Matplotlib. Try searching for the released version of this page instead?
Version 0+unknown
matplotlib
Fork me on GitHub
  • Installation
  • Documentation
  • Examples
  • Tutorials
  • Contributing

导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • home| 
  • contents »
  • API概述 »
  • matplotlib.axis »
  • matplotlib.axis.XAxis.set_major_formatter

目录

  • matplotlib.axis.XAxis.set_major_formatter
    • 使用实例 matplotlib.axis.XAxis.set_major_formatter

Related Topics

  • Documentation overview
    • API概述
      • matplotlib.axis
        • Previous: matplotlib.axis.XAxis.set_label_text
        • Next: matplotlib.axis.XAxis.set_major_locator

matplotlib.axis.XAxis.set_major_formatter¶

XAxis.set_major_formatter(formatter)¶

设置主要断续器的格式化程序。

参数:
格式化程序 : Formatter格式化程序

使用实例 matplotlib.axis.XAxis.set_major_formatter¶

Date tick labels

日期刻度线标签¶

Custom tick formatter for time series

时间序列的自定义刻度格式设置工具¶

Labeling ticks using engineering notation

使用工程符号标记记号¶

Bachelor's degrees by gender

按性别划分的学士学位¶

3D surface (color map)

3D表面(彩色地图)¶

Centering labels between ticks

刻度之间的标签居中¶

Formatting date ticks using ConciseDateFormatter

使用ConciseDataformatter格式化日期刻度¶

Date Demo Convert

演示转换日期¶

Date Demo Rrule

日期演示规则¶

Date Index Formatter

日期索引格式化程序¶

Major and minor ticks

主次滴答声¶

Setting tick labels from a list of values

从值列表中设置刻度线标签¶

The Lifecycle of a Plot

图的生命周期¶

Choosing Colormaps in Matplotlib

在Matplotlib中选择颜色映射¶

Text in Matplotlib Plots

matplotlib图中的文本¶

© Copyright 2002 - 2012 John Hunter, Darren Dale, Eric Firing, Michael Droettboom and the Matplotlib development team; 2012 - 2018 The Matplotlib development team.
最后更新于 7月 16, 2020. 创建使用 Doc version v3.2.2-2-g137edd56a-dirty.