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;
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
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);