It is common practice to encode missing/invalid data points as NaN, see for example the NaN toolbox for Matlab/Octave (http://pub.ist.ac.at/~schloegl/matlab/NaN/). Having arbitrary base grids would be nice, of course, but certainly comes at a significant performance cost. Ideally there would be a simple implementation with square grids and Nans that propagate through the surface mesh generation (no if/else branches) for missing numbers, and a more complicated plot that can deal with arbitrary grids.
On Thursday, December 20, 2012 12:26:14 PM UTC, Dr. David Kirkby wrote: > > Your patch is a hack which adds NaN to represent what you consider > invalid points because you can't think of another way. If I understand > the problem correctly from what Jeroen wrote on the ticket, you are > plotting arbitrary 3D figures given by faces and vertices's. There is > no reason for them to lie on a square grid, but the underlying code > makes the assumption they do. > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.