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

导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • home| 
  • contents »
  • API概述 »
  • matplotlib.axes »
  • matplotlib.axes.Axes.set_xticks

目录

  • matplotlib.axes.Axes.set_xticks
    • 使用实例 matplotlib.axes.Axes.set_xticks

Related Topics

  • Documentation overview
    • API概述
      • matplotlib.axes
        • Previous: matplotlib.axes.Axes.get_adjustable
        • Next: matplotlib.axes.Axes.get_xticks

matplotlib.axes.Axes.set_xticks¶

Axes.set_xticks(ticks, *, minor=False)¶

设置X轴的刻度位置。

参数:
ticks浮动列表

勾选位置列表。

minorbool,默认值:False

如果 False ,设置主刻度;如果 True ,小滴答声。

使用实例 matplotlib.axes.Axes.set_xticks¶

Grouped bar chart with labels

带标签的分组条形图¶

Psd Demo

PSD演示¶

Creating annotated heatmaps

创建带注释的热图¶

Box plot vs. violin plot comparison

盒图与小提琴图比较¶

Violin plot customization

小提琴绘图定制¶

Producing multiple histograms side by side

并排生成多个柱状图¶

Rendering math equations using TeX

用TeX绘制数学方程¶

Hatch Demo

舱口演示¶

ggplot style sheet

ggplot样式表¶

Scatter Histogram (Locatable Axes)

散点直方图(可定位轴)¶

Simple Axisline4

简单轴线4¶

Demo Ticklabel Alignment

演示TickLabel对齐¶

Demo Ticklabel Direction

演示TickLabel方向¶

Bachelor's degrees by gender

按性别划分的学士学位¶

Firefox

火狐¶

Integral as the area under a curve

积分为曲线下的面积¶

Shaded & power normalized rendering

阴影和功率标准化渲染¶

XKCD

XKCD¶

Rain simulation

模拟降雨¶

MATPLOTLIB **UNCHAINED**

MATPLOTLIB UNCHAINED¶

Frontpage 3D example

FrontPage 3D示例¶

Frontpage contour example

FrontPage轮廓示例¶

Frontpage histogram example

FrontPage柱状图示例¶

Frontpage plot example

FrontPage绘图示例¶

Log Bar

原木杆¶

MRI With EEG

磁共振脑电图¶

Custom spine bounds

自定义脊椎边界¶

Group barchart with units

用单位对条形图分组¶

The Lifecycle of a Plot

图的生命周期¶

© 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.