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

Method run

ij/src/main/java/ij/plugin/ZAxisProfiler.java:40–53  ·  view source on GitHub ↗
(String arg)

Source from the content-addressed store, hash-verified

38 }
39
40 public void run(String arg) {
41 imp = IJ.getImage();
42 if (imp.getStackSize()<2) {
43 IJ.error("ZAxisProfiler", "This command requires a stack.");
44 return;
45 }
46 isPlotMaker = true;
47 Plot plot = getPlot();
48 if (plot!=null) {
49 if (isPlotMaker)
50 plot.setPlotMaker(this);
51 plot.show();
52 }
53 }
54
55 public Plot getPlot() {
56 Roi roi = imp.getRoi();

Callers

nothing calls this directly

Calls 6

getImageMethod · 0.95
errorMethod · 0.95
getPlotMethod · 0.95
setPlotMakerMethod · 0.95
showMethod · 0.95
getStackSizeMethod · 0.45

Tested by

no test coverage detected