o

com.cibo.evilplot.plot

FunctionPlot

object FunctionPlot

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FunctionPlot
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def apply(function: (Double) ⇒ Double, xbounds: Option[Bounds] = None, numPoints: Option[Int] = None, pathRenderer: Option[PathRenderer[Point]] = None, pointRenderer: Option[PointRenderer[Point]] = None, xBoundBuffer: Option[Double] = None, yBoundBuffer: Option[Double] = None)(implicit theme: Theme): Plot

    Plot a function.

    Plot a function.

    function

    the function to plot.

    xbounds

    Range of values to use as input to the function.

    numPoints

    Number of values to give to the function.

  2. val defaultBounds: Bounds
  3. val defaultNumPoints: Int
  4. def series(function: (Double) ⇒ Double, label: Drawable, color: Color, xbounds: Option[Bounds], numPoints: Option[Int], strokeWidth: Option[Double], xBoundBuffer: Option[Double], yBoundBuffer: Option[Double])(implicit theme: Theme): Plot

    Plot a function using a name for the legend.

    Plot a function using a name for the legend.

    function

    the function to plot

    label

    the drawable to use to label this plot in the legend

    xbounds

    the bounds to plot the function over

    numPoints

    the number of points to evaluate function at

  5. def series(function: (Double) ⇒ Double, name: String, color: Color, xbounds: Option[Bounds] = None, numPoints: Option[Int] = None, strokeWidth: Option[Double] = None, xBoundBuffer: Option[Double] = None, yBoundBuffer: Option[Double] = None)(implicit theme: Theme): Plot

    Plot a function using a name for the legend.

    Plot a function using a name for the legend.

    function

    the function to plot

    name

    the name to use for the legend

    xbounds

    the bounds to plot the function over

    numPoints

    the number of points to evaluate function at