线条,条形和标记#

带有独立柱状颜色的柱状图

Bar chart with individual bar colors

带有标签的柱状图

Bar chart with labels

堆叠柱状图

Stacked bar chart

带有标签的分组柱状图

Grouped bar chart with labels

水平柱状图

Horizontal bar chart

断裂条形图

Broken Barh

绘制分类变量

Plotting categorical variables

绘制两个信号的相干性

Plotting the coherence of two signals

互谱密度(CSD)

Cross spectral density (CSD)

带有误差带的曲线

Curve with error band

误差线限制选择

Errorbar limit selection

误差线子采样

Errorbar subsampling

EventCollection 演示

EventCollection Demo

Eventplot 演示

Eventplot demo

填充多边形

Filled polygon

fill_between 带透明度

fill_between with transparency

填充两条线之间的区域

Fill the area between two lines

填充两条垂直线之间的区域

Fill the area between two vertical lines

带有渐变的条形图

Bar chart with gradients

帽子图

Hat graph

离散分布作为水平条形图

Discrete distribution as horizontal bar chart

JoinStyle

JoinStyle

虚线样式配置

Dashed line style configuration

带有刻度路径效果的线条

Lines with a ticked patheffect

线条样式

Linestyles

Marker 参考

Marker reference

Markevery 演示

Markevery Demo

绘制屏蔽值和 NaN 值

Plotting masked and NaN values

多色线条

Multicolored lines

将标记属性映射到多元数据

Mapping marker properties to multivariate data

功率谱密度 (PSD)

Power spectral density (PSD)

散点演示2

Scatter Demo2

带有直方图的散点图

Scatter plot with histograms

带有掩码值的散点图

Scatter plot with masked values

标记示例

Marker examples

带有图例的散点图

Scatter plot with a legend

折线图

Line plot

使用 fill_between 填充由逻辑掩码定义的区域

Shade regions defined by a logical mask using fill_between

频谱表示

Spectrum representations

堆叠图和流图

Stackplots and streamgraphs

阶梯演示

Stairs Demo

茎图

Stem plot

阶梯演示

Step Demo

带有线条,日期和文本的时间线

Timeline with lines, dates, and text

hlines 和 vlines

hlines and vlines

互相关和自相关

Cross- and auto-correlation