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

Method getPlot

ij/src/main/java/ij/plugin/Profiler.java:36–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34 }
35
36 public Plot getPlot() {
37 Roi roi = imp.getRoi();
38 if (roi==null || !(roi.isLine()||roi.getType()==Roi.RECTANGLE||(roi instanceof RotatedRectRoi))) {
39 if (firstTime)
40 IJ.error("Plot Profile", "Line or rectangular selection required");
41 return null;
42 }
43 ProfilePlot pp = new ProfilePlot(imp, plotVertically);
44 return pp.getPlot();
45 }
46
47 public ImagePlus getSourceImage() {
48 return imp;

Callers 1

runMethod · 0.95

Calls 5

isLineMethod · 0.95
getTypeMethod · 0.95
errorMethod · 0.95
getPlotMethod · 0.95
getRoiMethod · 0.45

Tested by

no test coverage detected