controls specification of a grid in one dimension or a grid of
individual simulation locations.

When you specify the NPTS=number option and the coordinates of two points in the GRIDDATA= data set or in both the X= and Y= options, you request a linear
simulation grid. Its direction is across the line defined by the specified points. The grid size is equal to the number of points that you specify in the NPTS= option, where number .

When you specify the NPTS=ALL option and the coordinates for any number of points in the GRIDDATA= data set or in each of
the X= and Y= options, the SIM2D procedure performs simulation only at the specified individual locations. Use the NPTS=ALL
option to examine a set of individual points anywhere on the XY plane or to specify a custom grid in one dimension.

If the number of x coordinates and the number of y coordinates in the X= and Y= options, respectively, are different, then the NPTS= option is ignored; in that case, a two-dimensional
grid is used according to the specified X= and Y= options.

If you specify a simulation grid with any number of points other than two in the GRIDDATA= data set, then the option NPTS=ALL
has the same effect as omitting the NPTS= option.

specifies the y coordinate of the grid locations.

Use the X= and Y= options of the GRID statement to specify a grid in one or two dimensions, or a grid of individual simulation
locations.

For example, the following two GRID statements are equivalent:

GRID X=1,2,3,4,5 Y=0,2,4,6,8,10;
GRID X=1 TO 5 Y=0 to 10 by 2;

In the following example, the first GRID statement produces a grid in two dimensions. The second statement produces simulation
output only for the four individual points at the locations (1,0), (2,5), (3,7), and (4,10) on the XY plane.

GRID X=1 TO 4 Y=0,5,7,10;
GRID X=1 TO 4 Y=0,5,7,10 NPTS=ALL;

In the next example, the first GRID statement specifies a 2-by-2 grid in two dimensions. The second GRID statement specifies
a linear grid of eight points. The grid is in the direction of the line defined by the specified points (2,8) and (3,5) on
the XY plane and it extends between these two points.

GRID X=2,3 Y=8,5;
GRID x=2,3 Y=8,5 NPTS=8;

The last example shows a GRID statement that specifies a linear grid made of seven points across the Y axis. In this case,
the syntax is sufficient to fully define a linear grid without the NPTS= option.

GRID X=5 Y=3 TO 9;

To specify grid locations from a SAS data set, you must provide the name of the data set and the variables that contain the
values of the x and y coordinates.