From: erik Date: Tue, 15 Aug 2006 20:17:02 +0000 (+0000) Subject: (no commit message) X-Git-Tag: BEFORE_MAVEN_MIGRATION~45 X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;h=157ef3a8ca2bbb7b242d68b769777423c03105b2;p=utils --- diff --git a/gps/src/org/wamblee/gpx/GpxPlotter.java b/gps/src/org/wamblee/gpx/GpxPlotter.java index 097dd251..f239cabf 100644 --- a/gps/src/org/wamblee/gpx/GpxPlotter.java +++ b/gps/src/org/wamblee/gpx/GpxPlotter.java @@ -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);