Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > cn.bbs.comp.lang.python > #4
| X-Received | by 10.200.36.26 with SMTP id c26mr28905946qtc.15.1467602640895; Sun, 03 Jul 2016 20:24:00 -0700 (PDT) |
|---|---|
| X-Received | by 10.157.53.22 with SMTP id o22mr1175392otc.7.1467602640858; Sun, 03 Jul 2016 20:24:00 -0700 (PDT) |
| Path | csiph.com!weretis.net!feeder4.news.weretis.net!feeder6.news.weretis.net!news.glorb.com!w59no2029301qtd.1!news-out.google.com!o189ni1303ith.0!nntp.google.com!jk6no10263056igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | cn.bbs.comp.lang.python |
| Date | Sun, 3 Jul 2016 20:24:00 -0700 (PDT) |
| In-Reply-To | <570ChA$dTv@newsmth.net> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=2604:a880:1:20:0:0:79f:c001; posting-account=VjP_PwoAAAA6KZQFar5W81mnak5wKADu |
| NNTP-Posting-Host | 2604:a880:1:20:0:0:79f:c001 |
| References | <570ChA$dTv@newsmth.net> |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <7b083eb0-2b5f-4e5a-8e10-edb28f94eabb@googlegroups.com> (permalink) |
| Subject | Re: 请教使用matplotlib画3D平面 |
| From | roachsinai@gmail.com |
| Injection-Date | Mon, 04 Jul 2016 03:24:00 +0000 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | base64 |
| Xref | csiph.com cn.bbs.comp.lang.python:4 |
Show key headers only | View raw
在 2011年7月21日星期四 UTC+8上午8:44:39,����礯写道: > from mpl_toolkits.mplot3d.axes3d import Axes3D > from matplotlib import cm > import matplotlib.pyplot as plt > import numpy as np > > fig = plt.figure() > ax = fig.add_subplot(1, 1, 1, projection='3d') > X=np.arange(1,10,1) > Y=np.arange(1,20,1) > X, Y = np.meshgrid(X, Y) > Z = X**3 + Y**2 > surf = ax.plot_surface(X, Y, Z, rstride=1, cstride=1, > cmap=cm.jet,linewidth=0, antialiased=False) > ax.set_zlim3d(0,1000) > fig.colorbar(surf, shrink=0.5, aspect=5) > plt.show() > 锟斤拷 锟斤拷 pthread (皮皮) 锟侥达拷锟斤拷锟斤拷锟结到: 锟斤拷 > : 锟斤拷锟斤拷锟斤拷X锟斤拷Y锟斤拷锟斤拷List锟斤拷锟斤拷锟斤拷10锟斤拷锟斤拷20锟斤拷锟斤拷 > : 锟斤拷锟斤拷锟斤拷锟斤拷锟絤atplotlib锟斤拷锟斤拷Z = X^3+Y^2锟斤拷锟斤拷平锟芥? > : 谢谢锟斤拷 > : ................... > > -- > > [36m锟斤拷 锟睫革拷:锟斤拷Ulofi 锟斤拷 Jul 21 08:44:39 2011 锟睫改憋拷锟侥★拷[FROM: 159.226.159.*] [m > [m [1;32m锟斤拷 锟斤拷源:锟斤拷水木锟斤拷锟斤拷 newsmth.net锟斤拷[FROM: 159.226.159.*] [m Thanks!
Back to cn.bbs.comp.lang.python | Previous | Next | Find similar
Re: 请教使用matplotlib画3D平面 roachsinai@gmail.com - 2016-07-03 20:24 -0700
csiph-web