@Override
protected XYAxis createYAxis() {
LinearXYAxis axis = new LinearXYAxis(XYDimension.Y);
axis.setTickMarkCalculator(new LogTickMarkCalculator());
axis.setFormat(new ExpFormat(new DecimalFormat("#.#")));
return axis;
}
};
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setup();