Set Z data on pcolor.

Hi All,

I wish to make a 3d volume with a series of slices through it. I have X-Z data at 15 different Y planes. In MATLAB, I would make a pcolor plot, then set the Z data to the original ydata, and the Y data to a constant. This works fine.

I would like to achieve a similar result in matplotlib, but I cannot figure out anyway to do it.

Any help would be appreciated.

James