Advertisement

Python绘制使用matplotlib库中的figure、subplots、axis3d和contourf功能

阅读量:

文章目录

  • 一、plt.figure函数的参数说明
    • 二、通过subplot函数生成单一的子图区域

    • 三、使用subplots生成多个独立的子图区域

    • 四、面向对象API中add_subplots与add_axes的作用及功能介绍

      • 4.1 add_subplots的功能及应用场景
      • 4.2 add_axes的作用及使用方法
    • 五、Axes3D函数详解

      • 5.1 Axes3D(fig)
      • 5.2 contourf 填充等高线图
      • 5.3 contour 绘制轮廓线
    • 有趣的事,Python永远不会缺席

    • 培训说明

一、plt.figure参数解释

matplotlib.pyplot.figure() 创建一个新的画布(figure)。

复制代码
    matplotlib.pyplot.figure(num=None, figsize=None, dpi=None, facecolor=None, edgecolor=None, frameon=True, FigureClass=<class 'matplotlib.figure.Figure'>, clear=False, **kwargs)

输入参数:

如果不

全部评论 (0)

还没有任何评论哟~