pls.parseopts( args, pls.PL_PARSE_FULL | pls.PL_PARSE_NOPROGRAM );
pls.parseopts( args, PLStream.PL_PARSE_FULL | PLStream.PL_PARSE_NOPROGRAM );
    public x12( String[] args )    {        NumberFormat nf = NumberFormat.getNumberInstance();//        Change to this custom format to get stupid locale commas//        separating hundreds and thousands place out of labels.	DecimalFormat nf4 = new DecimalFormat("####");	int i;        pls.parseopts( args, pls.PL_PARSE_FULL | pls.PL_PARSE_NOPROGRAM );        pls.init();        pls.adv(0);        pls.vsta();        pls.wind(1980.0, 1990.0, 0.0, 35.0);        pls.box("bc", 1.0, 0, "bcnv", 10.0, 0);        pls.col0(2);        pls.lab("Year", "Widget Sales (millions)", "#frPLplot Example 12");        for (i = 0; i < 10; i++) {            pls.col0(i + 1);//             pls.col1((double) ((i + 1)/10.0));            pls.psty(0);            plfbox((1980. + i), y0[i]);//	   sprintf(string, "%.0f", y0[i]);            String text = nf.format( (int) (y0[i]+0.5));            pls.ptex((1980. + i + .5), (y0[i] + 1.), 1.0, 0.0, .5, text);//	   sprintf(string, "%d", 1980 + i);            String text1 = nf4.format( 1980 + i );            pls.mtex("b", 1.0, ((i + 1) * .1 - .05), 0.5, text1);	}        pls.end();    }