object FunctionPlot
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FunctionPlot
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
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.
- val defaultBounds: Bounds
- val defaultNumPoints: Int
-
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
-
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