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

Method addToStack

ij/src/main/java/ij/gui/Plot.java:1787–1794  ·  view source on GitHub ↗

Appends the current plot to a virtual stack and resets allPlotObjects for next slice N. Vischer

()

Source from the content-addressed store, hash-verified

1785 * N. Vischer
1786 */
1787 public void addToStack() {
1788 if (stack==null)
1789 stack = new PlotVirtualStack(getSize().width,getSize().height);
1790 draw();
1791 stack.addPlot(this);
1792 IJ.showStatus("addToPlotStack: "+stack.size());
1793 allPlotObjects.clear();
1794 }
1795
1796 /** Alias for addToStack(). */
1797 public void appendToStack() {

Callers 1

appendToStackMethod · 0.95

Calls 6

getSizeMethod · 0.95
drawMethod · 0.95
showStatusMethod · 0.95
addPlotMethod · 0.80
sizeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected