1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
* Example of a surface plot.
* The surface interpolates the points in the 3D scatter plot.

GET FILE='c:\\program files\\spss\\employee data.sav'.
IGRAPH /VIEWNAME='Scatterplot' /X1 = VAR(prevexp) TYPE = SCALE /Y =
  VAR(salary) TYPE = SCALE /X2 = VAR(jobtime) TYPE = SCALE /COORDINATE =
THREE
   /FITLINE METHOD = LLR NORMAL BANDWIDTH = FAST X1MULTIPLIER = 1.00
  X2MULTIPLIER = 1.00 LINE = TOTAL SPIKE=OFF /X1LENGTH=3.0 /YLENGTH=3.0
 /X2LENGTH=3.0 /CHARTLOOK='NONE' /SCATTER COINCIDENT = NONE.
EXE.