Menu

[r7444]: / branches / mathtex / examples / mplot3d / contour3d_demo2.py  Maximize  Restore  History

Download this file

13 lines (9 with data), 249 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
from mpl_toolkits.mplot3d import axes3d
import pylab
import random
fig = pylab.figure()
ax = axes3d.Axes3D(fig)
X, Y, Z = axes3d.get_test_data(0.05)
cset = ax.contour(X, Y, Z, 16, extend3d=True)
ax.clabel(cset, fontsize=9, inline=1)
pylab.show()
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.