Skip to main content
Ctrl+K
Matplotlib 3.10.0.dev759+ge90952ffac 文档 - Home
  • Plot types
  • User guide
  • Tutorials
  • Examples
  • Reference
  • Contribute
  • Releases
  • Gitter
  • Discourse
  • GitHub
  • Twitter
  • Plot types
  • User guide
  • Tutorials
  • Examples
  • Reference
  • Contribute
  • Releases
  • Gitter
  • Discourse
  • GitHub
  • Twitter

Section Navigation

  • matplotlib
  • matplotlib.afm
  • matplotlib.animation
  • matplotlib.artist
  • matplotlib.axes
  • matplotlib.axis
  • matplotlib.backend_bases
  • matplotlib.backend_managers
  • matplotlib.backend_tools
  • matplotlib.backends
  • matplotlib.bezier
  • matplotlib.category
  • matplotlib.cbook
  • matplotlib.cm
  • matplotlib.collections
  • matplotlib.colorbar
  • matplotlib.colors
  • matplotlib.container
  • matplotlib.contour
  • matplotlib.dates
  • matplotlib.docstring
  • matplotlib.dviread
  • matplotlib.figure
  • matplotlib.font_manager
  • matplotlib.ft2font
  • matplotlib.gridspec
  • matplotlib.hatch
  • matplotlib.image
  • matplotlib.layout_engine
  • matplotlib.legend
  • matplotlib.legend_handler
  • matplotlib.lines
  • matplotlib.markers
  • matplotlib.mathtext
  • matplotlib.mlab
  • matplotlib.offsetbox
  • matplotlib.patches
  • matplotlib.path
  • matplotlib.patheffects
  • matplotlib.pyplot
  • matplotlib.projections
  • matplotlib.quiver
  • matplotlib.rcsetup
  • matplotlib.sankey
  • matplotlib.scale
  • matplotlib.sphinxext.mathmpl
  • matplotlib.sphinxext.plot_directive
  • matplotlib.sphinxext.figmpl_directive
  • matplotlib.sphinxext.roles
  • matplotlib.spines
  • matplotlib.style
  • matplotlib.table
  • matplotlib.testing
  • matplotlib.text
  • matplotlib.texmanager
  • matplotlib.ticker
  • matplotlib.tight_bbox
  • matplotlib.tight_layout
  • matplotlib.transforms
  • matplotlib.tri
  • matplotlib.type1font
  • matplotlib.typing
  • matplotlib.units
  • matplotlib.widgets
  • matplotlib._api
  • matplotlib._enums
  • mpl_toolkits.mplot3d
    • mplot3d 常见问题解答
    • mplot3d 视角
    • mpl_toolkits.mplot3d.axes3d.Axes3D
    • mpl_toolkits.mplot3d.axis3d.Axis
    • mpl_toolkits.mplot3d.art3d.Line3D
    • mpl_toolkits.mplot3d.art3d.Line3DCollection
    • mpl_toolkits.mplot3d.art3d.Patch3D
    • mpl_toolkits.mplot3d.art3d.Patch3DCollection
    • mpl_toolkits.mplot3d.art3d.Path3DCollection
    • mpl_toolkits.mplot3d.art3d.PathPatch3D
    • mpl_toolkits.mplot3d.art3d.Poly3DCollection
    • mpl_toolkits.mplot3d.art3d.Text3D
    • mpl_toolkits.mplot3d.art3d.get_dir_vector
    • mpl_toolkits.mplot3d.art3d.juggle_axes
    • mpl_toolkits.mplot3d.art3d.line_2d_to_3d
    • mpl_toolkits.mplot3d.art3d.line_collection_2d_to_3d
    • mpl_toolkits.mplot3d.art3d.patch_2d_to_3d
    • mpl_toolkits.mplot3d.art3d.patch_collection_2d_to_3d
    • mpl_toolkits.mplot3d.art3d.pathpatch_2d_to_3d
    • mpl_toolkits.mplot3d.art3d.poly_collection_2d_to_3d
    • mpl_toolkits.mplot3d.art3d.旋转轴
    • mpl_工具包.mplot3d.art3d.文本_2d_到_3d
    • mpl_toolkits.mplot3d.proj3d.inv_transform
    • mpl_toolkits.mplot3d.proj3d.proj_transform
    • mpl_toolkits.mplot3d.proj3d.proj_transform_clip
    • mpl_toolkits.mplot3d.proj3d.世界变换
  • mpl_toolkits.axes_grid1
  • mpl_toolkits.axisartist
  • pylab
  • API 参考
  • mpl_toolkits.mplot3d
  • mpl_toolkits...

mpl_toolkits.mplot3d.art3d.pathpatch_2d_to_3d#

mpl_toolkits.mplot3d.art3d.pathpatch_2d_to_3d(pathpatch, z=0, zdir='z')[源代码][源代码]#

将 PathPatch 转换为 PathPatch3D 对象。

使用 mpl_toolkits.mplot3d.art3d.pathpatch_2d_to_3d 的示例#

在3D图中绘制平面物体

Draw flat objects in 3D plot
On this page
  • pathpatch_2d_to_3d()
  • 使用 mpl_toolkits.mplot3d.art3d.pathpatch_2d_to_3d 的示例

© Copyright 2002–2012 John Hunter, Darren Dale, Eric Firing, Michael Droettboom and the Matplotlib development team; 2012–2024 The Matplotlib development team.

由 Sphinx 8.0.2创建。

Built from v3.9.2-622-gb01462c9ac-dirty.

Built with the PyData Sphinx Theme 0.15.4.