points=np.zeros(((2*num+1),2),dtype=np.float64)
for i in range(2*num+1):
points[i,0] = -1.0+delta*i
#points[i+2num+1,0] = -1+deltai
points[i,1] = (1-(np.abs(-1+delta*i))ntype)(1./ntype)
#points[i+2num+1,1] = -(1-(np.abs(-1+deltai))ntype)(1./ntype)
points1[:2*num+1,0]=points[:,0]
points1[2*num+1:,0] =points[:,0]
#points1[:2*num+1,1]=points[:,1]
#points1[2num+1:,1] =-1points[:,1]
x=points[:,0]
y=points[:,1]
return [x,y]
def main():
fig=plt.figure()
num = 1024
axes=fig.add_subplot(221)
ntype =0.5
[x,y] = normp(num,ntype)
axes.plot(x,y,color=‘b’)
axes.plot(x,-1*y,color=‘b’)
axes=fig.add_subplot(222)
ntype =1
[x,y] = normp(num,ntype)
axes.plot(x,y,color=‘b’)
axes.plot(x,-1*y,color=‘b’)
axes=fig.add_subplot(223)
ntype =2
[x,y] = normp(num,ntype)
axes.plot(x,y,color=‘b’)
axes.plot(x,-1*y,color=‘b’)
axes=fig.add_subplot(224)
ntype =5
[x,y] = normp(num,ntype)
axes.plot(x,y,color=‘b’)
axes.plot(x,-1*y,color=‘b’)
axes.axis(‘equal’)
plt.show()
一、Python所有方向的学习路线
Python所有方向的技术点做的整理,形成各个领域的知识点汇总,它的用处就在于,你可以按照下面的知识点去找对应的学习资源,保证自己学得较为全面。
二、Python必备开发工具
工具都帮大家整理好了,安装就可直接上手!
三、最新Python学习笔记
当我学到一定基础,有自己的理解能力的时候,会去阅读一些前辈整理的书籍或者手写的笔记资料,这些笔记详细记载了他们对一些技术点的理解,这些理解是比较独到,可以学到不一样的思路。
四、Python视频合集
观看全面零基础学习视频,看视频学习是最快捷也是最有效果的方式,跟着视频中老师的思路,从基础到深入,还是很容易入门的。
五、实战案例
纸上得来终觉浅,要学会跟着视频一起敲,要动手实操,才能将自己的所学运用到实际当中去,这时候可以搞点实战案例来学习。
六、面试宝典
简历模板
网上学习资料一大堆,但如果学到的知识不成体系,遇到问题时只是浅尝辄止,不再深入研究,那么很难做到真正的技术提升。
一个人可以走的很快,但一群人才能走的更远!不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!