(no commit message)
[utils] / gps / src / main / java / org / wamblee / gpx / GpxPlotter.java
index 232c70139c7ffb594d5c902121281e15a4567dfd..3056eff507eb79f8be10acf944a3af1d0622a145 100644 (file)
@@ -57,7 +57,7 @@ public class GpxPlotter {
         Track track = parser.parse(new FileInputStream(file));
         
         TrackStatistics profile = new TrackStatistics(track);
-        profile.writeHeightProfileJpg(new FileOutputStream("x.jpg"), 600, 300);
+        profile.writeHeightProfilePng(new FileOutputStream("x.png"), 600, 300);
     
         List<Pair<Double,Double>> elevationProfile = computeElevationProfile(track);
         printTrack(elevationProfile);