Requests from Didier
This commit is contained in:
@@ -8,6 +8,7 @@ import ch.psi.pshell.epics.ChannelDouble;
|
||||
import ch.psi.pshell.imaging.RendererMode;
|
||||
import ch.psi.pshell.plot.Plot;
|
||||
import ch.psi.pshell.plot.LinePlotJFree;
|
||||
import ch.psi.pshell.ui.App;
|
||||
import ch.psi.pshell.ui.Panel;
|
||||
import ch.psi.utils.Convert;
|
||||
import ch.psi.utils.State;
|
||||
@@ -32,13 +33,16 @@ public class PSSS extends Panel {
|
||||
volatile boolean updatingPlot;
|
||||
volatile boolean updatingImage;
|
||||
volatile boolean updatingDevices;
|
||||
final Color PLOT_BACKGROUND =Color.WHITE;
|
||||
Color PLOT_BACKGROUND =Color.WHITE;
|
||||
final Font TICK_LABEL_FONT = new Font("Arial", 0, 14);
|
||||
|
||||
public PSSS() {
|
||||
initComponents();
|
||||
plot.getAxis(Plot.AxisId.X).setLabel(null);
|
||||
plot.getAxis(Plot.AxisId.Y).setLabel(null);
|
||||
if (App.hasArgument("pltb")){
|
||||
PLOT_BACKGROUND = null;
|
||||
}
|
||||
renderer.setMode(RendererMode.Stretch);
|
||||
plot.setPlotBackgroundColor(PLOT_BACKGROUND);
|
||||
history.setPlotBackgroundColor(PLOT_BACKGROUND);
|
||||
@@ -63,8 +67,9 @@ public class PSSS extends Panel {
|
||||
pipelineServer = (PipelineServer) getDevice("cam_server");
|
||||
((LinePlotJFree)histogramGeneratorPanelCenter.getPlot()).setLegendVisible(true);
|
||||
((LinePlotJFree)histogramGeneratorFwhm.getPlot()).setLegendVisible(true);
|
||||
histogramGeneratorPanelCenter.getPlot().getAxis(Plot.AxisId.Y).setRange(0, 100);
|
||||
histogramGeneratorFwhm.getPlot().getAxis(Plot.AxisId.Y).setRange(0, 100);
|
||||
//histogramGeneratorPanelCenter.getPlot().getAxis(Plot.AxisId.Y).setRange(0, 100);
|
||||
//histogramGeneratorFwhm.getPlot().getAxis(Plot.AxisId.Y).setRange(0, 100);
|
||||
|
||||
//setImageEnabled(true);
|
||||
tabStateChanged(null);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user