Packages

  • package root
    Definition Classes
    root
  • package de
    Definition Classes
    root
  • package h2b
    Definition Classes
    de
  • package scala
    Definition Classes
    h2b
  • package lib
    Definition Classes
    scala
  • package pa_toolbox
    Definition Classes
    lib
  • package data
    Definition Classes
    pa_toolbox
  • package plotting

    Adds function-based plotting methods to the Plotter interface of the PA-Toolbox plotting Java project.

    Adds function-based plotting methods to the Plotter interface of the PA-Toolbox plotting Java project.

    Note that you still can use the vector- and matrix-based versions of the Java project by using the conversions of the pa-toolbox-linalg-scala project; to do this include an import de.h2b.scala.lib.pa_toolbox.math.linalg._ or import de.h2b.scala.lib.pa_toolbox.math.linalg.ImplicitConversions._ statement.

    Also provides conversions for axis functions between this PA-Toolbox data-plotting Java project (pa) and the Scala functionality (scala). This package object adds converters as.. to the function types of both domains. To use them, include an import de.h2b.scala.lib.pa_toolbox.data.plotting._ statement. If you prefer implicit conversions, use the ImplicitConversions object.

    Definition Classes
    data
  • ImplicitConversions
  • PaAxisFunctionOps
  • PlotterOps
  • ScalaAxisFunctionOps

implicit class PlotterOps extends AnyRef

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

Instance Constructors

  1. new PlotterOps(plotter: Plotter)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. def plot(fs: Seq[(Double) ⇒ Double], range: NumericRange[Double], legend: Seq[String] = Seq.empty): Unit

    Plots multiple curves in a 2D-coordinate system using the given function values on the y axis.

    Plots multiple curves in a 2D-coordinate system using the given function values on the y axis.

    With respect to the legend sequence, each curve is annotated by the corresponding string. If it is smaller than the length of the function sequence, the missing annotations become empty; if it is larger, the superfluous annotations are ignored.

    fs

    the sequence of functions to be plot

    range

    the range of x values

    legend

    list containing curve titles (optional)

    Exceptions thrown

    PlottingException - if this plotter cannot fulfil this task

    Note

    Will override the property to be set by setXValues of this plotter object.

  16. def plot(f: (Double) ⇒ Double, range: NumericRange[Double]): Unit

    Plots a 2D curve using the given function values on the y axis.

    Plots a 2D curve using the given function values on the y axis.

    f

    the function to be plot

    range

    the range of x values

    Exceptions thrown

    PlottingException - if this plotter cannot fulfil this task

    Note

    Will override the property to be set by setXValues of this plotter object.

  17. def plot2D(f: (Double, Double) ⇒ Double, xRange: NumericRange[Double], yRange: NumericRange[Double]): Unit

    Plots multiple 2D curves in a 3D-coordinate system using the given function values for x and y on the z axis.

    Plots multiple 2D curves in a 3D-coordinate system using the given function values for x and y on the z axis. Strictly speaking, for each yk in yRange a separate 2D curve z = f(x, yk) is drawn with x in xRange.

    f

    the function (x, y) → z to be plot

    xRange

    the range of x values

    yRange

    the range of y values

    Exceptions thrown

    PlottingException - if this plotter cannot fulfil this task

    Note

    Since this plot actually produces 2D curves, setSurfaceStyle and setContourStyle are not applicable here and will be ignored.

    ,

    Will override the properties to be set by setXValues and setYValues of this plotter object.

  18. def plot3D(f: (Double, Double) ⇒ Double, xRange: NumericRange[Double], yRange: NumericRange[Double]): Unit

    Plots a 3D surface using the given function values for x and y on the z axis.

    Plots a 3D surface using the given function values for x and y on the z axis.

    f

    the function (x, y) → z to be plot

    xRange

    the range of x values

    yRange

    the range of y values

    Exceptions thrown

    PlottingException - if this plotter cannot fulfil this task

    Note

    Will override the properties to be set by setXValues and setYValues of this plotter object.

  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped