MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / drawPlot

Method drawPlot

ij/src/main/java/ij/gui/PlotWindow.java:918–926  ·  view source on GitHub ↗

Draws a new plot in this window.

(Plot plot)

Source from the content-addressed store, hash-verified

916
917 /** Draws a new plot in this window. */
918 public void drawPlot(Plot plot) {
919 this.plot = plot;
920 if (imp!=null) {
921 if (ic instanceof PlotCanvas)
922 ((PlotCanvas)ic).setPlot(plot);
923 imp.setProcessor(null, plot.getProcessor());
924 plot.setImagePlus(imp); //also adjusts the calibration of imp
925 }
926 }
927
928 /** Called once when ImageJ quits. */
929 public static void savePreferences(Properties prefs) {

Callers 2

updatePlotMethod · 0.45
drawUpdatedPlotMethod · 0.45

Calls 4

setImagePlusMethod · 0.80
setPlotMethod · 0.45
setProcessorMethod · 0.45
getProcessorMethod · 0.45

Tested by

no test coverage detected