Hey guys,

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
to it!

Cheers, Sebastian


S3b4st1an wrote:
> 
> Hello everyone,
> 
> I've got a contour plot on a pcolor plot: 
> 
>  http://old.nabble.com/file/p31038837/m3921-csv-RMSfinalSlip-pleft.pdf
> m3921-csv-RMSfinalSlip-pleft.pdf 
> 
> 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?
> 
> Cheers, Sebastian
> 

-- 
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.


------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to