Interface PolarAxes

All Superinterfaces:
Drawable, DrawableAxes
All Known Implementing Classes:
AbstractPolarAxis, PolarType1, PolarType2

public interface PolarAxes extends DrawableAxes
PolarAxes defines common polar coordinate methods.
Author:
W. Christian
  • Method Details

    • setDeltaR

      void setDeltaR(double dr)
      Sets the spacing of the radial gridlines.
      Parameters:
      dr -
    • autospaceRings

      void autospaceRings(boolean autoscale)
      Automatically sets the spacing of the radial gridlines.
      Parameters:
      dr -
    • getDeltaR

      double getDeltaR()
      Gets the spacing of the radial gridlines.
    • setDeltaTheta

      void setDeltaTheta(double dtheta)
      Sets the spacing of the radial gridlines.
      Parameters:
      dtheta - in degree
    • getDeltaTheta

      double getDeltaTheta()
      Gets the spacing of the radial gridlines.
    • drawRings

      double drawRings(double rmax, DrawingPanel panel, Graphics g)
      Draws the rings for the polar plot. The ring spacing used will depend on the resolution and the autoscale flag.
      Parameters:
      panel -
      g -
      Returns:
      double the ring spacing that was used
    • drawSpokes

      void drawSpokes(double rmax, DrawingPanel panel, Graphics g)
      Draws the spokes for the polar plot.
      Parameters:
      panel -
      g -
    • setInteriorBackground

      void setInteriorBackground(Color color)
      Sets the interior background color.
      Specified by:
      setInteriorBackground in interface DrawableAxes