Here is a simple script that will create a new data table and will generate whatever range of X1 and X2 values you want.
Names Default To Here( 1 );
dt = New Table( "More Points", New Column( "X1" ), New Column( "X2" ) );
// Change the desired min and max for the X1
For( X1Vals = .1, X1Vals <= 2, X1Vals = X1Vals + .1,
// Change the desired min and max for the X2
For( X2Vals = .1, X2Vals <= 2, X2Vals = X2Vals + .1,
dt << Add Rows( 1 );
dt:X1[N Rows( dt )] = X1Vals;
dt:X2[N Rows( dt )] = X2Vals;
)
);
// Now manually add your Y column and paste in the formula
// into the column
Or if you just want to add more rows to your current data table, the script below is just a very simple change to the above script
Names Default To Here( 1 );
dt = Current Data Table();
// Change the desired min and max for the X1
For( X1Vals = .1, X1Vals <= 2, X1Vals = X1Vals + .1,
// Change the desired min and max for the X2
For( X2Vals = .1, X2Vals <= 2, X2Vals = X2Vals + .1,
dt << Add Rows( 1 );
dt:X1[N Rows( dt )] = X1Vals;
dt:X2[N Rows( dt )] = X2Vals;
)
);
Jim