Sets the plot range to the initial value determined from minima&maxima or given by setLimits. Updates the image if existing and updateImg is true
(boolean updateImg)
| 1634 | /** Sets the plot range to the initial value determined from minima&maxima or given by setLimits. |
| 1635 | * Updates the image if existing and updateImg is true */ |
| 1636 | public void setLimitsToDefaults(boolean updateImg) { |
| 1637 | saveMinMax(); |
| 1638 | System.arraycopy(defaultMinMax, 0, currentMinMax, 0, defaultMinMax.length); |
| 1639 | if (plotDrawn && updateImg) updateImage(); |
| 1640 | } |
| 1641 | |
| 1642 | /** Sets the plot range to encompass all data. Updates the image if existing and updateImg is true. */ |
| 1643 | public void setLimitsToFit(boolean updateImg) { |
no test coverage detected