matplotlib 入門 (11) nitta@tsuda.ac.jp

Chapter 11: 3D Graph

11-1: Drawing 3D Graph plot_wireframe

To draw a 3D graph, use the parameters of plt.subplots() as subplot_kw = { 'projection' : '3d' }.

Generate 2D grid coordinates.

11-2: Draw 3D Graph3D plot_surface

11-3: Draw parametric curbes in 3D Axes3D.plot

11-4: Plot a histogram of 2D data in 3D bar3d

Draw the histogram generated with 2D data in 3D.