|
From: Eric F. <ef...@ha...> - 2006-07-12 22:34:28
|
Mark Bakker wrote: > > On the same token, it would be really nice if contour, pcolor and image > take as an x and y argument not only a matrix but just a 1D row. This > should be really easy and would be very useful. contour already does this, and I agree that pcolor and pcolormesh should. pcolor* is a little more complicated than contour because the X and Y dimensions are ideally larger by 1 than the corresponding Z dimensions, but don't have to be. image does not take x,y arguments at all, by design. > > In fact, if more people want it I can submit a patch for the latter one, OK. I suggest a function that can be used for both pcolor and pcolormesh. (Some day the two should be consolidated, but there is a pcolormesh bug with alpha != 1, so we can't do it yet.) Eric |