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_locator

目录

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

Related Topics

  • Documentation overview
    • API概述
      • matplotlib.axis
        • Previous: matplotlib.axis.XAxis.set_major_formatter
        • Next: matplotlib.axis.XAxis.set_minor_formatter

matplotlib.axis.XAxis.set_major_locator¶

XAxis.set_major_locator(locator)¶

设置主断续器的定位器。

参数:
定位器 : Locator定位器

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

Hatch-filled histograms

填充图案填充直方图¶

Date tick labels

日期刻度线标签¶

Anatomy of a figure

人体解剖学¶

3D surface (color map)

3D表面(彩色地图)¶

3D surface (checkerboard)

3D表面(棋盘)¶

MRI With EEG

磁共振脑电图¶

SkewT-logP diagram: using transforms and custom projections

歪斜logp图:使用转换和自定义投影¶

Centering labels between ticks

刻度之间的标签居中¶

Formatting date ticks using ConciseDateFormatter

使用ConciseDataformatter格式化日期刻度¶

Date Demo Convert

演示转换日期¶

Date Demo Rrule

日期演示规则¶

Major and minor ticks

主次滴答声¶

Setting tick labels from a list of values

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

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.