[Matplotlib-users] clabel3D, is it possible?

2012-12-16 Thread Diego Avesani
dear all, I have plot a 3D picture, I would like to have xy projection with contours levels and labels. The contours works but I do not get the labels. This is my code: import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import axes3d, Axes3D fig = plt.figure() ax = Axes3D(fig) #<-- Note

[Matplotlib-users] Colormap norm (vmin, vmax) based on visible part of figure

2012-12-16 Thread David Huard
Hi all, I'm wondering if anyone knows how to compute colorbar limits (vmin, vmax) based only on the visible portion of the figure. My use-case is a pcolormesh(x, y, z) drawn over a Basemap instance. The coordinates x and y cover the entire globe, but I'm only mapping the Arctic. What happens is th