Plot

scalation.mathstat.Plot
See thePlot companion class
object Plot

The Plot companion object provides factory methods for creating plots.

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Plot.type

Members list

Value members

Concrete methods

def apply(x: VectorI, y: VectorI, z: VectorI, _title: String, lines: Boolean): Plot

Create a plot object from integer vectors.

Create a plot object from integer vectors.

Value parameters

_title

the title of the plot

lines

flag for generating a line plot

x

the x vector of data values (horizontal)

y

the y vector of data values (primary vertical)

z

the z vector of data values (secondary vertical) to compare with y

Attributes

def clip(x: Double): String

Convert value to string and cut out the first four characters.

Convert value to string and cut out the first four characters.

Value parameters

x

the value to convert and cut

Attributes

def drawAxes(g2d: Graphics2D, baseX: Int, baseY: Int, frameW: Int, frameH: Int, offset: Int, minX: Double, maxY: Double, deltaX: Double, deltaY: Double): Unit

Draw the x-axis and y-axis.

Draw the x-axis and y-axis.

Value parameters

baseX

the base for x

baseY

the base for y

frameH

the frame width

frameW

the frame width

g2d

the hi-res graphics

offset

the offset in y coordinate

Attributes