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

Method makeLimitsDefault

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

Takes over the current limits as the default ones (i.e., the limits set by clicking at the 'R' field in the bottom-left corner)

()

Source from the content-addressed store, hash-verified

485
486 /** Takes over the current limits as the default ones (i.e., the limits set by clicking at the 'R' field in the bottom-left corner) */
487 void makeLimitsDefault() {
488 System.arraycopy(currentMinMax, 0, defaultMinMax, 0, Math.min(currentMinMax.length, defaultMinMax.length));
489 }
490
491 /** Returns the current limits as an array xMin, xMax, yMin, yMax.
492 * (note that ImageJ versions before to 1.52i have returned incorrect values in case of log axes)

Callers 2

setLimitsMethod · 0.95
showDialogMethod · 0.80

Calls 2

arraycopyMethod · 0.45
minMethod · 0.45

Tested by

no test coverage detected