From: Arne V. <cob...@us...> - 2004-10-27 20:36:42
|
Update of /cvsroot/jrobin/src/org/jrobin/demo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8709/org/jrobin/demo Modified Files: ComplexDemo.java PlottableDemo.java StressTest.java Log Message: JRobin 1.4.1 - Fixing bug #0000067 - Improved grid with constant value Index: StressTest.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/demo/StressTest.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** StressTest.java 9 Jun 2004 12:09:23 -0000 1.1 --- StressTest.java 27 Oct 2004 20:36:26 -0000 1.2 *************** *** 124,128 **** // GRAPH printLapTime("Creating composite graph definition"); ! RrdGraphDef gdef = new RrdGraphDef(TIME_START, TIME_END); gdef.setTitle("Temperatures"); gdef.setVerticalLabel("Fahrenheits"); --- 124,128 ---- // GRAPH printLapTime("Creating composite graph definition"); ! RrdGraphDef gdef = new RrdGraphDef(TIME_START, 0); // A 0 end time makes sure the last sample time i used gdef.setTitle("Temperatures"); gdef.setVerticalLabel("Fahrenheits"); Index: ComplexDemo.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/demo/ComplexDemo.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ComplexDemo.java 21 Sep 2004 08:42:10 -0000 1.3 --- ComplexDemo.java 27 Oct 2004 20:36:25 -0000 1.4 *************** *** 168,175 **** def.gprint("ftp", "MIN", "never below: @0 )\n\n"); def.comment(" Usage spread:"); ! def.area(new GregorianCalendar(2003, 7, 19, 17, 00), Double.MIN_VALUE, new GregorianCalendar(2003, 7, 19, 23, 00), Double.MAX_VALUE, Color.RED, "peak period"); ! def.area(new GregorianCalendar(2003, 7, 20, 5, 00), Double.MIN_VALUE, new GregorianCalendar(2003, 7, 20, 8, 30), Double.MAX_VALUE, Color.LIGHT_GRAY, "quiet period\n"); --- 168,175 ---- def.gprint("ftp", "MIN", "never below: @0 )\n\n"); def.comment(" Usage spread:"); ! def.area(new GregorianCalendar(2003, 7, 19, 17, 00), -Double.MAX_VALUE, new GregorianCalendar(2003, 7, 19, 23, 00), Double.MAX_VALUE, Color.RED, "peak period"); ! def.area(new GregorianCalendar(2003, 7, 20, 5, 00), -Double.MAX_VALUE, new GregorianCalendar(2003, 7, 20, 8, 30), Double.MAX_VALUE, Color.LIGHT_GRAY, "quiet period\n"); Index: PlottableDemo.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/demo/PlottableDemo.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** PlottableDemo.java 11 Jun 2004 07:58:51 -0000 1.2 --- PlottableDemo.java 27 Oct 2004 20:36:25 -0000 1.3 *************** *** 59,63 **** private PlottableDemo() throws RrdException, IOException { createGraph1(); ! createGraph2(); createGraph3(); createGraph4(); --- 59,63 ---- private PlottableDemo() throws RrdException, IOException { createGraph1(); ! /*createGraph2(); createGraph3(); createGraph4(); *************** *** 73,77 **** createGraph14(); createGraph15(); ! createGraph16(); createGraph17(); } --- 73,77 ---- createGraph14(); createGraph15(); ! createGraph16();*/ createGraph17(); } *************** *** 475,479 **** RrdGraph graph = new RrdGraph(gDef); String filename = Util.getJRobinDemoPath("plottable" + (++count) + ".png"); ! graph.saveAsPNG(filename, 400, 200); System.out.println("Saved to: " + filename); } --- 475,479 ---- RrdGraph graph = new RrdGraph(gDef); String filename = Util.getJRobinDemoPath("plottable" + (++count) + ".png"); ! graph.saveAsPNG(filename, 800, 400); System.out.println("Saved to: " + filename); } |