Python, Contourf, Contour and Filled contour with lines and labels
Below is a simple example.
v = numpy.linspace(0.0, 1.0, 100, endpoint=True)
contourf(xx,yy,zz,v)
colorbar()
cs = contour(xx,yy,zz,v, colors='white')
clabel(cs, inline=1, fontsize=10)
show()
v = numpy.linspace(0.0, 1.0, 100, endpoint=True)
contourf(xx,yy,zz,v)
colorbar()
cs = contour(xx,yy,zz,v, colors='white')
clabel(cs, inline=1, fontsize=10)
show()
댓글
댓글 쓰기