plot3d discrete problem



On Sun, 2011-02-20 at 17:02 +0000, Rob Burns wrote:
> There seems to be a typo in your message but I have copied the code
> from the new manual and it works with both versions. 
Ups, sorry. For the record, the correct example from the manual is:

(%i1) M: matrix([1, 2, 3, 4], [1, 2, 3, 2], [1, 2, 3, 4],[1, 2, 3, 3])$
          (%i2) f(x, y) := float('M [round(x), round(y)])$
          (%i3) plot3d (f(x,y), [x, 1, 4], [y, 1, 4], [grid, 4, 4])$

Jaime