Hi! I have a question about contours and clim within matplotlib. I load in some files and do some processing and generate a contour plot using:
cmap=pylab.cm.jet
mycontour=pylab.contourf(x,y,z,95)#,
mycontour.set_clim(vmin=160, vmax=500)
mycbar=pylab.colorbar()
mycbar.set_clim(vmin=160, vmax=500)
pylab.xlim((17,19.6))
pylab.show()
However, the behavior is rather unexpected for me. I find that the colorbar has values rather stretched for values above the cutoff specified in clim. Also, are the values normalized between
the limits set in clim, or am I loosing a lot of dynamic range?
Thanks,
William