Startup
This commit is contained in:
@@ -22,7 +22,7 @@ import javax.swing.JSpinner;
|
||||
public class GunScan extends Panel {
|
||||
|
||||
LinePlotErrorSeries seriesEnergy = new LinePlotErrorSeries("Energy");
|
||||
LinePlotErrorSeries seriesEnergySpread = new LinePlotErrorSeries("Energy Spread");
|
||||
LinePlotErrorSeries seriesEnergySpread = new LinePlotErrorSeries("Energy Spread", null, 2);
|
||||
double dispersion;
|
||||
double energy0;
|
||||
|
||||
@@ -30,7 +30,7 @@ public class GunScan extends Panel {
|
||||
initComponents();
|
||||
plot.setStyle(LinePlotJFree.Style.ErrorY);
|
||||
plot.addSeries(seriesEnergy);
|
||||
plot.addSeries(seriesEnergySpread);
|
||||
plot.addSeries(seriesEnergySpread);
|
||||
plot.getAxis(Plot.AxisId.X).setLabel("Gun Phase");
|
||||
plot.getAxis(Plot.AxisId.Y).setLabel("Energy (MeV)");
|
||||
plot.getAxis(Plot.AxisId.Y2).setLabel("Energy Spread (MeV)");
|
||||
|
||||
Reference in New Issue
Block a user