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)
()
| 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. |
no test coverage detected