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

Method getNumPlotObjects

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

Returns the number of PlotObjects (curves, labels, ...) passed with the constructor or added by 'add' or 'draw' methods. Legend, frame and axes (though internally PlotObjects) are not included

()

Source from the content-addressed store, hash-verified

1404 /** Returns the number of PlotObjects (curves, labels, ...) passed with the constructor or added by 'add' or 'draw' methods.
1405 * Legend, frame and axes (though internally PlotObjects) are not included */
1406 public int getNumPlotObjects() {
1407 return allPlotObjects.size();
1408 }
1409
1410 /** Returns the number of PlotObjects fitting the mask.
1411 * Legend, frame and axes (though internally PlotObjects) are not included */

Callers 8

doPlotMethod · 0.95
runMethod · 0.95
setLimitsNoUpdateMethod · 0.95
fromPlotMethod · 0.80
PlotContentsDialogMethod · 0.80
addObjectFromTableMethod · 0.80
addFitCurveMethod · 0.80

Calls 2

hasFlagMethod · 0.65
sizeMethod · 0.45

Tested by

no test coverage detected