> I don't know if there are any strict requirement on monotonicity for X
> and Y, or if there are any cases where the plot is still valid even if
> that property is violated.  If it is a requirement, then I agree that
> there should be a check.

For sensible output, it is a requirement.  Contour and contourf (like 
imshow, pcolor, and pcolormesh) work with gridded data.  Gridding is the 
responsibility of the user.  It can be done in many different ways, so 
it makes sense to keep the gridding separate from the display of the 
gridded data.

If there is a check--and I am not convinced there should be--it should 
provide only a warning.  It is perfectly reasonable for a person to take 
a dataset and contour it even if the grid is not monotonic.  Sometimes 
one wants to get a quick look at raw input, complete with errors.

Eric

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to