Hi, all<br><br>I have the data points like (X,Y,Z). (X,Y) is the position of the data points on the map. Z is the height that I am trying to represent with colors.<br><br>For example, the data are like<br>&nbsp;<br>{0,0,60.3}, {0,1,
60.2},{0,2,60.1},{0,3,60.0},<br>{1,0,59.9},{1,1,59.8}, {1,2,59.7},{1,3,59.6},<br>{2,0,59.6}, {2,1,59.5},{2,2,59.3},{2,3,59.5}, <br>{3,0,59.6}, {3,1,59.7}, {3,2,59.9}, {3,3,60.1}<br><br>&nbsp;I tried to put my data in vtkDoubleArray and then create vtkImageData. Then I used vtkWarpScalar to get a 3D colored surface. Basically I&#39;d like to generate a surface as MATLAB functions surf() and meshgrid() do. I must have done something wrong in this procedure since I got nothing in the rendering window. 
<br><br>Is there any sample code for this? Or is there any better way to generate a color map out of such kind of data?<br><br>Thanks a lot.<br>Janny<br>