Maple 11 generously introduced the option smooth=true to listdensityplot. But I am finding unexpected behavior with the option. In the code below, notice how the option smooth=true ends up triggering the transform "Scale" to produce a three-dimensional plot structure, but the option smooth=false, in conjunction with "Scale", produces (as expected) a two-dimensional plot structure. Code follows: with(plottools):with(plots): sample:=[seq([seq(i*j,i=1..40)],j=1..40)]: Grid:=listdensityplot(sample,smooth=true,colorstyle=HUE,style=patchnogrid); display(Grid); Scale:=transform((x,y)->[x*2*Pi/40,y*Pi/40]): Scale(Grid); #Contrast this with what happens when smooth=false.

Please Wait...