/** Sets the Plot object shown in this PlotWindow. Does not update the window. */ public void setPlot(Plot plot) { this.plot = plot; ((PlotCanvas)getCanvas()).setPlot(plot); }
/** Sets the Plot object shown in this PlotWindow. Does not update the window. */ public void setPlot(Plot plot) { this.plot = plot; ((PlotCanvas)getCanvas()).setPlot(plot); }
/** Creates a PlotWindow from a given ImagePlus with a Plot object. * (called when reading an ImagePlus with an associated plot from a file) */ public PlotWindow(ImagePlus imp, Plot plot) { super(imp); ((PlotCanvas)getCanvas()).setPlot(plot); this.plot = plot; draw(); }
/** * @deprecated * replaced by the Plot class. */ public PlotWindow(String title, String xLabel, String yLabel, float[] xValues, float[] yValues) { super(createImage(title, xLabel, yLabel, xValues, yValues)); plot = staticPlot; ((PlotCanvas)getCanvas()).setPlot(plot); }
/** Creates a PlotWindow from a given ImagePlus with a Plot object. * (called when reading an ImagePlus with an associated plot from a file) */ public PlotWindow(ImagePlus imp, Plot plot) { super(imp); ((PlotCanvas)getCanvas()).setPlot(plot); this.plot = plot; draw(); }
/** * @deprecated * replaced by the Plot class. */ public PlotWindow(String title, String xLabel, String yLabel, float[] xValues, float[] yValues) { super(createImage(title, xLabel, yLabel, xValues, yValues)); plot = staticPlot; ((PlotCanvas)getCanvas()).setPlot(plot); }
/** Creates a PlotWindow from a Plot object. */ PlotWindow(Plot plot) { super(plot.getImagePlus()); ((PlotCanvas)getCanvas()).setPlot(plot); this.plot = plot; draw(); }
/** Creates a PlotWindow from a Plot object. */ PlotWindow(Plot plot) { super(plot.getImagePlus()); ((PlotCanvas)getCanvas()).setPlot(plot); this.plot = plot; draw(); }