From: Alan W. I. <ai...@us...> - 2004-07-15 00:17:16
|
Update of /cvsroot/plplot/plplot/examples/java In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10640/examples/java Modified Files: x01.java x02.java x03.java x04.java x05.java x06.java x07.java x08.java x09.java x10.java x11.java x12.java x13.java x14.java x15.java x16.java x18.java x22.java Log Message: PLplot.java has been moved on top of PLStream.java and the PLplot class has been replace by the PLStream class. Index: x01.java =================================================================== RCS file: /cvsroot/plplot/plplot/examples/java/x01.java,v retrieving revision 1.23 retrieving revision 1.24 diff -u -d -r1.23 -r1.24 --- x01.java 5 Jul 2004 10:07:10 -0000 1.23 +++ x01.java 15 Jul 2004 00:16:56 -0000 1.24 @@ -38,7 +38,7 @@ class x01 { double xscale, yscale, xoff, yoff; - PLplot pls = new PLplot(); + PLStream pls = new PLStream(); public static void main( String[] args ) { Index: x08.java =================================================================== RCS file: /cvsroot/plplot/plplot/examples/java/x08.java,v retrieving revision 1.22 retrieving revision 1.23 diff -u -d -r1.22 -r1.23 --- x08.java 5 Jul 2004 10:07:10 -0000 1.22 +++ x08.java 15 Jul 2004 00:16:56 -0000 1.23 @@ -40,7 +40,7 @@ static final int XPTS = 35; static final int YPTS = 46; - PLplot pls = new PLplot(); + PLStream pls = new PLStream(); static double alt[] = {60.0, 20.0}; static double az[] = {30.0, 60.0}; Index: x10.java =================================================================== RCS file: /cvsroot/plplot/plplot/examples/java/x10.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- x10.java 5 Jul 2004 10:07:10 -0000 1.9 +++ x10.java 15 Jul 2004 00:16:56 -0000 1.10 @@ -42,7 +42,7 @@ public x10( String[] args ) { - PLplot pls = new PLplot(); + PLStream pls = new PLStream(); // Parse and process command line arguments. Index: x11.java =================================================================== RCS file: /cvsroot/plplot/plplot/examples/java/x11.java,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- x11.java 5 Jul 2004 10:07:11 -0000 1.15 +++ x11.java 15 Jul 2004 00:16:56 -0000 1.16 @@ -35,7 +35,7 @@ class x11 { - PLplot pls = new PLplot(); + PLStream pls = new PLStream(); static final int XPTS = 35; static final int YPTS = 46; Index: x04.java =================================================================== RCS file: /cvsroot/plplot/plplot/examples/java/x04.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- x04.java 5 Jul 2004 10:07:10 -0000 1.10 +++ x04.java 15 Jul 2004 00:16:56 -0000 1.11 @@ -35,7 +35,7 @@ class x04 { - PLplot pls = new PLplot(); + PLStream pls = new PLStream(); public static void main( String[] args ) { Index: x03.java =================================================================== RCS file: /cvsroot/plplot/plplot/examples/java/x03.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- x03.java 5 Jul 2004 10:07:10 -0000 1.11 +++ x03.java 15 Jul 2004 00:16:56 -0000 1.12 @@ -43,7 +43,7 @@ public x03( String[] args ) { - PLplot pls = new PLplot(); + PLStream pls = new PLStream(); NumberFormat nf = NumberFormat.getNumberInstance(); int i, j; Index: x07.java =================================================================== RCS file: /cvsroot/plplot/plplot/examples/java/x07.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- x07.java 5 Jul 2004 10:07:10 -0000 1.9 +++ x07.java 15 Jul 2004 00:16:56 -0000 1.10 @@ -48,7 +48,7 @@ public x07( String[] args ) { - PLplot pls = new PLplot(); + PLStream pls = new PLStream(); // NumberFormat nf = NumberFormat.getNumberInstance(); // Change to this custom format to get stupid locale commas Index: x13.java =================================================================== RCS file: /cvsroot/plplot/plplot/examples/java/x13.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- x13.java 5 Jul 2004 10:07:11 -0000 1.9 +++ x13.java 15 Jul 2004 00:16:56 -0000 1.10 @@ -46,7 +46,7 @@ public x13( String[] args ) { - PLplot pls = new PLplot(); + PLStream pls = new PLStream(); int i, j, dthet, theta0, theta1, theta; double just, dx, dy; Index: x02.java =================================================================== RCS file: /cvsroot/plplot/plplot/examples/java/x02.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- x02.java 5 Jul 2004 10:07:10 -0000 1.9 +++ x02.java 15 Jul 2004 00:16:56 -0000 1.10 @@ -47,7 +47,7 @@ double vmin, vmax; NumberFormat nf = NumberFormat.getNumberInstance(); - PLplot pls = new PLplot(); + PLStream pls = new PLStream(); // Divide screen into 16 regions. Index: x06.java =================================================================== RCS file: /cvsroot/plplot/plplot/examples/java/x06.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- x06.java 5 Jul 2004 10:07:10 -0000 1.8 +++ x06.java 15 Jul 2004 00:16:56 -0000 1.9 @@ -43,7 +43,7 @@ public x06( String[] args ) { - PLplot pls = new PLplot(); + PLStream pls = new PLStream(); NumberFormat nf = NumberFormat.getNumberInstance(); Index: x14.java =================================================================== RCS file: /cvsroot/plplot/plplot/examples/java/x14.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- x14.java 5 Jul 2004 10:07:11 -0000 1.9 +++ x14.java 15 Jul 2004 00:16:56 -0000 1.10 @@ -38,7 +38,7 @@ class x14 { double xscale, yscale, xoff, yoff; - PLplot pls = new PLplot(); + PLStream pls = new PLStream(); public static void main( String[] args ) { Index: x15.java =================================================================== RCS file: /cvsroot/plplot/plplot/examples/java/x15.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- x15.java 5 Jul 2004 10:07:11 -0000 1.11 +++ x15.java 15 Jul 2004 00:16:56 -0000 1.12 @@ -43,7 +43,7 @@ final double tr[] = {XSPA, 0.0, -1.0, 0.0, YSPA, -1.0}; - PLplot pls = new PLplot(); + PLStream pls = new PLStream(); double fmin, fmax; Index: x09.java =================================================================== RCS file: /cvsroot/plplot/plplot/examples/java/x09.java,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- x09.java 5 Jul 2004 10:07:10 -0000 1.19 +++ x09.java 15 Jul 2004 00:16:56 -0000 1.20 @@ -55,7 +55,7 @@ // Transformation function final double tr[] = {XSPA, 0.0, -1.0, 0.0, YSPA, -1.0}; - PLplot pls = new PLplot(); + PLStream pls = new PLStream(); // State data used by f2mnmx double fmin, fmax; Index: x05.java =================================================================== RCS file: /cvsroot/plplot/plplot/examples/java/x05.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- x05.java 5 Jul 2004 10:07:10 -0000 1.10 +++ x05.java 15 Jul 2004 00:16:56 -0000 1.11 @@ -44,7 +44,7 @@ public x05( String[] args ) { - PLplot pls = new PLplot(); + PLStream pls = new PLStream(); int i; double[] data = new double[NPTS]; Index: x16.java =================================================================== RCS file: /cvsroot/plplot/plplot/examples/java/x16.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- x16.java 5 Jul 2004 10:07:11 -0000 1.11 +++ x16.java 15 Jul 2004 00:16:56 -0000 1.12 @@ -46,7 +46,7 @@ static final double YSPA = 2./(YPTS-1); final double tr[] = {XSPA, 0.0, -1.0, 0.0, YSPA, -1.0}; - PLplot pls = new PLplot(); + PLStream pls = new PLStream(); double fmin, fmax; Index: x22.java =================================================================== RCS file: /cvsroot/plplot/plplot/examples/java/x22.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- x22.java 5 Jul 2004 10:07:11 -0000 1.5 +++ x22.java 15 Jul 2004 00:16:56 -0000 1.6 @@ -38,7 +38,7 @@ double MIN(double x, double y) { return (x<y?x:y);} double MAX(double x, double y) { return (x>y?x:y);} - PLplot pls = new PLplot(); + PLStream pls = new PLStream(); double[][] u = null; double[][] v = null; Index: x12.java =================================================================== RCS file: /cvsroot/plplot/plplot/examples/java/x12.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- x12.java 5 Jul 2004 10:07:11 -0000 1.9 +++ x12.java 15 Jul 2004 00:16:56 -0000 1.10 @@ -38,7 +38,7 @@ static double y0[] = {5., 15., 12., 24., 28., 30., 20., 8., 12., 3.}; - PLplot pls = new PLplot(); + PLStream pls = new PLStream(); public static void main( String[] args ) { Index: x18.java =================================================================== RCS file: /cvsroot/plplot/plplot/examples/java/x18.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- x18.java 5 Jul 2004 10:07:11 -0000 1.10 +++ x18.java 15 Jul 2004 00:16:56 -0000 1.11 @@ -40,7 +40,7 @@ static int opt[] = { 1, 0, 1, 0 }; static double alt[] = {20.0, 35.0, 50.0, 65.0}; static double az[] = {30.0, 40.0, 50.0, 60.0}; - PLplot pls = new PLplot(); + PLStream pls = new PLStream(); double THETA(int a) { |