Sun, 6 Oct 2013 15:41:07 -0500 Tony Yu <tsy...@gmail.com>: > The return value for streamplot is a bit hacked together. Its just a > simple object containing a line collection and an arrow collection. > Instead of passing the set of collections, just pass one of the > collections to the colorbar. For example: > > sset = grid[i].streamplot(XPTS, YPTS, zx, zy, color=zr) > grid.cbar_axes[i].colorbar(sset.lines) > > Does that work for you?
works like a charm - thank you! best regards, Yoshi ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users