#include
#include
#include
#define M 20
#define N 30
#define NUM_X 40
#define NUM_Y 50
int main() {
int i,j;
array double z_s1[NUM_X*NUM_Y], z_l1[NUM_X*NUM_Y];
array double x[NUM_X],y[NUM_Y],xa[M],ya[N];
array double za[M][N],za1d[M*N], z_s[NUM_X][NUM_Y], z_l[NUM_X][NUM_Y];
class CPlot plot;
/* Construct data set of the peaks function */
linspace(xa, -3, 3);
linspace(ya, -4, 4);
for(i=0; i