Version 3.3.3
matplotlib
Fork me on GitHub
  • Installation
  • Documentation
  • Examples
  • Tutorials
  • Contributing

导航

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

目录

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

Related Topics

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

matplotlib.axis.Axis.set_major_locator¶

Axis.set_major_locator(locator)[源代码]¶

设置主断续器的定位器。

参数:
定位器 : Locator定位器

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

Hatch-filled histograms

填充图案填充直方图¶

Creating a timeline with lines, dates, and text

创建带有线条、日期和文本的时间线¶

Date tick labels

日期刻度线标签¶

Anatomy of a figure

人体解剖学¶

3D surface (color map)

3D表面(彩色地图)¶

3D surface (checkerboard)

3D表面(棋盘)¶

Scales

规模¶

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

主次滴答声¶

Tick formatters

滴答格式化程序¶

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 - 2021 The Matplotlib development team.
上次更新时间: 1月 02, 2021 。 创建使用 Doc version v3.3.3-11-g0c8feb04e.