I am trying to reproduce this figure in Matplotlib While generating the data and plotting it using trisurf is straight forward I am have some difficulty to figure out how the tube like diagram is configured. This seems to be some collection of level curves but I would not know how to implement it. Any ideas? Continue reading...