From: Ian T. <ian...@go...> - 2010-01-15 14:49:47
|
Hello all, I think I have fixed two bugs in the contouring code (src/cntr.c): 1) inconsistent behaviour in how contour and contourf handle saddle grid squares, and 2) incorrect handling of masked regions in filled contour plots. Attached is a gzipped tar file containing an explanation of the bugs and what I've done, as well as an svn diff against HEAD and small example scripts to demonstrate the bugs before and after the fixes. I have tested the fixes for the cases I normally come up with, but this is by no means exhaustive. Ideally it would be good if someone who is more familiar with cntr.c than I am could take a look at what I've done and see if it is OK. Ian Thomas ian...@go... |