PRO Grid_Demo1 points = Intarr(2, 10) points(*, 0) = [1,2] points(*, 1) = [1,3] points(*, 2) = [9,5] points(*, 3) = [8,0] points(*, 4) = [9,6] points(*, 5) = [9,9] points(*, 6) = [7,15] points(*, 7) = [6,-5] points(*, 8) = [0,3] points(*, 9) = [0,-1] Window, 0, Colors=128 Loadct, 4 T3d, /Reset yval = Grid_2d(points, 128, Order=0.5) Plot, yval, Color=50 yval = Grid_2d(points, 128, Order=1.0) Oplot, yval, Color=75 yval = Grid_2d(points, 128, Order=2.0) Oplot, yval, Color=100 yval = Grid_2d(points, 128, Order=3.0) Oplot, yval, Color=125 empty s=tvrd(0,0,640,512) set_plot,'ps' device,/landscape,filename='Grid_2d.ps'$ ,bits_per_pixel=8,/color tv,s device,/close set_plot,'sun' END