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

Method getLimits

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

Returns the current limits as an array xMin, xMax, yMin, yMax. (note that ImageJ versions before to 1.52i have returned incorrect values in case of log axes) Note that future versions might return a longer array (e.g. for y2 axis limits)

()

Source from the content-addressed store, hash-verified

492 * (note that ImageJ versions before to 1.52i have returned incorrect values in case of log axes)
493 * Note that future versions might return a longer array (e.g. for y2 axis limits) */
494 public double[] getLimits() {
495 return currentMinMax.clone();//new double[] {xMin, xMax, yMin, yMax};
496 }
497
498 /** Sets the current limits from an array xMin, xMax, yMin, yMax
499 * The array may be also longer or shorter, but should not contain NaN values.

Callers 6

getPlotLimitsMethod · 0.80
setupDialogMethod · 0.80
dialogItemChangedMethod · 0.80
recordMethod · 0.80
showDialogMethod · 0.80
addFitCurveMethod · 0.80

Calls 1

cloneMethod · 0.65

Tested by

no test coverage detected