implicit class PlotterOps extends AnyRef
- Alphabetic
- By Inheritance
- PlotterOps
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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.
-
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.
-
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 inxRange
.- 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
andsetContourStyle
are not applicable here and will be ignored.Will override the properties to be set by
setXValues
andsetYValues
of this plotter object.
-
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
andsetYValues
of this plotter object.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )