10.12.2012 Views

Κεφάλαιο 1 - Nemertes

Κεφάλαιο 1 - Nemertes

Κεφάλαιο 1 - Nemertes

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

"Time Steps", // X-Axis label<br />

"Energy (Joules)", // Y-Axis label<br />

xyDatasetTotal, // Dataset<br />

PlotOrientation.VERTICAL, true, // Show legend<br />

false, false);<br />

NumberAxis totAxis = (NumberAxis) ((XYPlot)<br />

chartTotalEnergy.getPlot()).getRangeAxis();<br />

totAxis.setStandardTickUnits(scientificTU);<br />

totAxis.setAutoRangeIncludesZero(true);<br />

totAxis.setAutoRangeStickyZero(false);<br />

totAxis.setAutoRangeMinimumSize(1e-25);<br />

JFreeChart chartVaf = ChartFactory.createXYLineChart("Vaf", // Title<br />

"Time Steps", // X-Axis label<br />

"Vaf", // Y-Axis label<br />

xyDatasetVaf, // Dataset<br />

PlotOrientation.VERTICAL, true, // Show legend<br />

false, false);<br />

JFreeChart chartTemp = ChartFactory.createXYLineChart("Temperature", // Title<br />

"Time Steps", // X-Axis label<br />

"Temperature", // Y-Axis label<br />

xyDatasetTemp, // Dataset<br />

PlotOrientation.VERTICAL, true, // Show legend<br />

false, false);<br />

NumberAxis tempAxis = (NumberAxis) ((XYPlot)<br />

chartTemp.getPlot()).getRangeAxis();<br />

tempAxis.setAutoRangeStickyZero(false);<br />

tempAxis.setAutoRangeIncludesZero(true);<br />

tempAxis.setTickUnit(new NumberTickUnit(10), true, false);<br />

ΚΕΦΑΛΑΙΟ 6 ο<br />

JFreeChart chartLaserEnergy = ChartFactory.createXYLineChart("Laser Energy Added",<br />

// Title<br />

"Time Steps", // X-Axis label<br />

"Energy (Joules)", // Y-Axis label<br />

xyDatasetLaser, // Dataset<br />

PlotOrientation.VERTICAL, true, // Show legend<br />

false, false);<br />

NumberAxis laserAxis = (NumberAxis) ((XYPlot)<br />

chartLaserEnergy.getPlot()).getRangeAxis();<br />

laserAxis.setStandardTickUnits(scientificTU);<br />

laserAxis.setAutoRangeIncludesZero(false);<br />

laserAxis.setAutoRangeStickyZero(false);<br />

laserAxis.setAutoRangeMinimumSize(1e-25);<br />

Frame chartFrame = SWT_AWT.new_Frame(graphComposite);<br />

263

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!