Jordan Dawe wrote: > So I have a contourf plot and I am resetting the ylims so as to only > display a subset of the full contourf plot. Is there anyway to set norm > and the colorbar so they take their colormapping settings using the data > currently on display? By which I mean: the full dataset has a range of > 260-320. The reset axes limits display a region that only has values > between 280-310. I'd like the colormap to extend over this range of > values automatically, without having to set vmin=280, vmax=310. Any way > to do that?
Jordan, I don't think so; and although I have not thought hard about it, my impression is that adding this capability would take a lot of work and redesign. I expect that in most cases what you describe would not be the desired behavior, so it would have to be a non-default option. Eric ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users