diff options
| author | Keith Packard <keithp@keithp.com> | 2010-10-06 16:25:49 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2010-10-06 16:44:06 -0700 | 
| commit | c2c4d515ef9cc2cae8a8f2803e9498bb0794c4ed (patch) | |
| tree | 0b106a7e38c77de4b3479cacb72250a775c1f660 /ao-tools/altosui/AltosGraphUI.java | |
| parent | d5caf6f2f4d9257e26aa4305b26c02d1b263fa24 (diff) | |
altosui: Remove ability to graph data in .csv files
There's no reason to support these files when the raw .eeprom or
.telem files which generate them should be used instead.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/altosui/AltosGraphUI.java')
| -rw-r--r-- | ao-tools/altosui/AltosGraphUI.java | 21 | 
1 files changed, 0 insertions, 21 deletions
diff --git a/ao-tools/altosui/AltosGraphUI.java b/ao-tools/altosui/AltosGraphUI.java index d945c333..25643c76 100644 --- a/ao-tools/altosui/AltosGraphUI.java +++ b/ao-tools/altosui/AltosGraphUI.java @@ -17,7 +17,6 @@ import org.jfree.chart.axis.AxisLocation;  import org.jfree.ui.ApplicationFrame;  import org.jfree.ui.RefineryUtilities; -import altosui.AltosCsvReader;  import altosui.AltosDataPoint;  import altosui.AltosGraphTime; @@ -228,26 +227,6 @@ public class AltosGraphUI extends JFrame          return graph;      } - -    public static void main(String[] args)  -        throws java.io.FileNotFoundException, java.io.IOException  -    { -        if (args.length < 1 || 2 < args.length) -        { -            System.out.println("Please specify telemetry csv"); -            return; -        } - -        AltosCsvReader csv = new AltosCsvReader(args[0]); -        if (args.length == 1) { -            for (AltosGraph g : createGraphs(csv)) { -                g.toPNG(); -            } -        } else { -            int which = Integer.parseInt(args[1].trim()); -            AltosGraphUI demo = new AltosGraphUI(csv, which); -        } -    }  }  /* gnuplot bits...  | 
