Reserve margins at the ends of the axis.
This method is usually used to reserve space in the plot area. For example, if some margin is reserved at the top of the vertical y-axis, the top of the plot area will contain no data points. It is because this region would be outside the active range of the y-axis. If anything is put at the top of the plot area (such as a legend box or custom text), it will not overlap with the data points.
Note if auto-scaling is used, there is an alternative way to reserve space at the top and/or bottom of the plot area - the
Axis.setAutoScale method.
© 2006 Advanced Software Engineering Limited. All rights reserved.