// Copyright 2006, FreeHEP
package org.freehep.graphicsio.test;
import java.io.InputStream;
import java.io.InputStreamReader;
import jas.hist.JASHist;
import jas.hist.XMLHistBuilder;
/**
*
* @author Mark Donszelmann
* @version $Id: TestScatterPlot.java 9338 2006-11-16 02:41:51Z duns $
*/
public class TestScatterPlot extends TestingPanel {
private JASHist plot;
public TestScatterPlot(String[] args) throws Exception {
super(args);
setName("ScatterPlot");
String plotml = "TestScatterPlot.plotml";
InputStream in = getClass().getResourceAsStream(plotml);
XMLHistBuilder xhb = new XMLHistBuilder(new InputStreamReader(in), plotml);
plot = xhb.getSoloPlot();
plot.setAllowUserInteraction(false);
add(plot);
}
public static void main(String[] args) throws Exception {
new TestScatterPlot(args).runTest();
}
}