Code: Select all
// dY = 35.0 + 30.0 * Math.Sin(0.01 * (double)(iNodeX * iNodeZ));
dY = 0.25 + 0.1 * Math.Sin(0.01 * (double)(iNodeX * iNodeZ));
If the surface is displayed with Fill=Paletted and ContourLineType = None, I get the following (correct) plot: If I turn contours on by setting ContourLineType to ColorLine or PalettedLine, I get something like the following: Is this the correct behavior or a bug? I don't understand why the surface fill becomes different due to the contours being displayed.