(no commit message)
authorerik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Tue, 15 Aug 2006 20:17:02 +0000 (20:17 +0000)
committererik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Tue, 15 Aug 2006 20:17:02 +0000 (20:17 +0000)
gps/src/org/wamblee/gpx/GpxPlotter.java

index 097dd251c52d11635345951b075100a38f2c91b1..f239cabf4a3b7aadc01807f000f0ea0caf45b3dd 100644 (file)
@@ -23,11 +23,8 @@ import java.io.FileInputStream;
 import java.io.FileOutputStream;
 import java.io.IOException;
 import java.util.ArrayList;
-import java.util.Iterator;
 import java.util.List;
 
-import org.dom4j.Document;
-import org.dom4j.Element;
 import org.jfree.chart.ChartFactory;
 import org.jfree.chart.ChartFrame;
 import org.jfree.chart.ChartUtilities;
@@ -44,9 +41,7 @@ import org.wamblee.gps.geometry.Plane;
 import org.wamblee.gps.geometry.Point;
 import org.wamblee.gps.geometry.ReferenceCoordinateSystem;
 import org.wamblee.gps.track.Track;
-import org.wamblee.gps.track.TrackPoint;
 import org.wamblee.utils.JpegUtils;
-import org.wamblee.xml.DomUtils;
 
 /**
  * Parses a GPX file and prints out a data file with each trackpoints distance from the start of the 
@@ -137,7 +132,7 @@ public class GpxPlotter {
                 true,
                 true,
                 false);
-        ChartUtilities.writeChartAsPNG(new FileOutputStream("test.png"), chart, 600, 300);
+        ChartUtilities.writeChartAsPNG(new FileOutputStream("height.png"), chart, 600, 300);
         ChartFrame frame = new ChartFrame("test", chart);
         frame.pack();
         frame.setVisible(true);