I think I found the answer to my question: No, it is not possible to have a
contour along the grid of a pcolor plot out of the box, because the contour
would take the shortest path between neighbouring same-value-points in a
dataset. Pcolor merely changes the representation of these data.
What I would probably need is using the pcolor plot as an underlying dataset
for a contour plot. If that works I don't know.
To give some background: The data in the attached pdf are not be
interpolated because this would give the fake impression of a continuous
parameter space. This is why I don't want any diagonal lines cutting through
the little boxes in the pcolor plot.
So, if there was a workaround, I would be happy if somebody could point me
I've got a contour plot on a pcolor plot:
I would like to have the contours (the 2 black lines) go along the grid
without any diagonal lines. Is that possible? And if so, could somebody
please tell me, how?
View this message in context: http://old.nabble.com/contour-plot-without-smoothing-tp31038837p31046299.html
Sent from the matplotlib - users mailing list archive at Nabble.com.