double PI = 4. * Math.atan(1.);
    public x08( String[] args )    {        pls = new PLStream();        double PI = 4. * Math.atan(1.);        int i, j, k;        double[] x = new double[ XPTS ];        double[] y = new double[ YPTS ];        double[][] z = new double[XPTS][YPTS];        double xx, yy, r;        int n_col = 256;        int[] rr = new int[256];        int[] gg = new int[256];        int[] bb = new int[256];    // Parse and process command line arguments.        pls.ParseOpts( args, pls.PL_PARSE_FULL );    // Initialize plplot.        pls.init();        for( i=0; i < XPTS; i++ )            x[i] = (double) (i - (XPTS/2)) / (double) (XPTS/2);        for( j=0; j < YPTS; j++ )            y[j] = (double) (j - (YPTS/2)) / (double) (YPTS/2);        for( i = 0; i < XPTS; i++ )        {            xx = x[i];            for( j = 0; j < YPTS; j++ )            {                yy = y[j];                r = Math.sqrt(xx * xx + yy * yy);                z[i][j] = Math.exp(-r * r) * Math.cos(2.0 * PI * r);            }        }        for( k = 0; k < 4; k++ )        {            pls.adv(0);            pls.vpor(0.0, 1.0, 0.0, 0.9);            pls.wind(-1.0, 1.0, -0.9, 1.1);            pls.col0(1);            pls.w3d( 1.0, 1.0, 1.0, -1.0, 1.0, -1.0, 1.0, -1.0, 1.0,                     alt[k], az[k] );            pls.box3( "bnstu", "x axis", 0.0, 0,                      "bnstu", "y axis", 0.0, 0,                      "bcdmnstuv", "z axis", 0.0, 0 );            pls.col0(2);            pls.plot3d( x, y, z, opt[k], 1 );            pls.col0(3);            pls.mtex("t", 1.0, 0.5, 0.5, title[k]);        }        pls.lightsource( 1., 1., 1. );        for( i=0; i < n_col; i++ )            rr[i] = gg[i] = bb[i] = i*256/n_col;        pls.scmap1( rr, gg, bb, n_col );    	        for( k = 0; k < 4; k++ )        {            pls.adv(0);            pls.vpor(0.0, 1.0, 0.0, 0.9);            pls.wind(-1.0, 1.0, -0.9, 1.1);            pls.col0(1);            pls.w3d( 1.0, 1.0, 1.0, -1.0, 1.0, -1.0, 1.0, -1.0, 1.0,                     alt[k], az[k] );            pls.box3( "bnstu", "x axis", 0.0, 0,                      "bnstu", "y axis", 0.0, 0,                      "bcdmnstuv", "z axis", 0.0, 0 );            pls.col0(2);            pls.plotsh3d( x, y, z, 0 );            pls.col0(3);            pls.mtex("t", 1.0, 0.5, 0.5, title[k]);        }        pls.end();    }