org.nspl
nspl is a Scala library to describe and render scientific plots.
Entry points into the API:
- org.nspl.xyplot is the most important method to define a plot in Cartesian coordinate systems,
- org.nspl.data.DataSource. All data must be supplied as a DataSource. Its main abstraction is an iterator over rows (org.nspl.data.Row) where a row is an indexed sequence of doubles. Each row has the same length in a DataSource. A DataSource may be lazy (e.g. load data from disk on demand).
- org.nspl.Parameters holds common settings governing most plots (axis labels, plot titles, ticks, etc),
- org.nspl.awtrenderer for methods to render the plot with Java AWT into PNG, JPG, PDF or a Java Graphics2D context,
- org.nspl.canvasrenderer for methods to render the plot with Html5 Canvas in the browser.
Premade plot factories for various types of plots:
- org.nspl.xyplot
- org.nspl.xyzplot Experimental 3D plot of a points and line segments mesh
- org.nspl.boxplot
- org.nspl.rasterplot Draws data as a bitmap / raster.
Data renderers:
- org.nspl.point for scatter plots
- org.nspl.line for line plots
- org.nspl.lineSegment for line or graph plots
- org.nspl.bar for bar plots
- org.nspl.area
- org.nspl.boxwhisker for box plots
- org.nspl.polynom
Data sources:
- org.nspl.data.DataTable Generic tabular data source on a row major double array
- There exist implicit conversion methods to provide DataSource views on
tuples of Doubles or other types from the standard library. Most of
these are not copying. They are imported with
import org.nspl._
import. - org.nspl.data.DataMatrix Data is viewed as a bitmap/raster: first dimension is x, second is y coordinates, third is color value
- org.nspl.saddle provides interface from Saddle types.
The more general scene graph and layout functionality of the library is exposed via:
- org.nspl.ShapeElem to describe a shape,
- org.nspl.TextBox to describe a text box,
- the
sequence()
method groups multiple elements in a sequence together e.g.sequence(List(elem1,elem2),VerticalStack)
, - the
group
methods group multiple elements together e.g.group(elem1,elem2,VerticalStack)
, one for each arity - Implementations of the org.nspl.Layout trait e.g. org.nspl.TableLayout
- Alignment helpers in org.nspl.Align
- Subclasses of org.nspl.Shape eg. org.nspl.Rectangle , org.nspl.Ellipse, org.nspl.SimplePath, org.nspl.Path
- org.nspl.fitToBounds, org.nspl.fitToWidth, org.nspl.fitToHeight methods
Rendering contexts:
- org.nspl.canvasrenderer for Html5 Canvas. This context is interactive with support for panning and zooming. See org.nspl.canvasrenderer.render
- org.nspl.awtrenderer for various format on the JVM. e.g see methods
like
org.nspl.awtrenderer.pdfToFile
- org.nspl.scalatagrenderer for SVG plots (Scala.js and JVM). See org.nspl.scalatagrenderer.renderToScalaTag
Attributes
Members list
Type members
Classlikes
2D Affine Transformation Matrix in row major order
2D Affine Transformation Matrix in row major order
Attributes
- Companion:
- object
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Attributes
- Companion:
- class
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- AffineTransform.type
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- object LinearAxisFactory.typeobject Log10AxisFactory.type
Attributes
- Companion:
- class
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- AxisSettings.type
Attributes
- Companion:
- object
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
A rectangle for bounding boxes
A rectangle for bounding boxes
Attributes
- anchor
an optional point termed the anchor. Certain layouts align to the anchor rather than to the edges of the bounding box
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Attributes
- Graph
- Supertypes
Attributes
- Companion:
- object
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- class Colorclass DiscreteColorsclass GrayScaleclass HeatMapColorsclass LogHeatMapColorsclass RedBlueclass TableColormap
- Self type
A Layout which puts elements into columns.
A Layout which puts elements into columns.
Attributes
- Graph
- Supertypes
A Renderable element for data sources
A Renderable element for data sources
Unlike most other Renderable's DataElem is a placeholder in the scene graph. nspl does not insert the individual data rows into the scene graph but represent them with a DataElem. The data source will be enumerated at the time when the rendering context renders the DataElem.
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait Renderable[DataElem]class Objecttrait Matchableclass Any
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait Renderable[DataElem3D]class Objecttrait Matchableclass Any
Attributes
- Companion:
- class
- Graph
- Supertypes
- trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
- DataElem3D.type
A DataRenderer can render a datum a a side effect
A DataRenderer can render a datum a a side effect
DataRenderers describe the visual representations of single data rows. DataRenderers operate in a side effect with the provided context specific shape and textbox renderer.
It is guaranteed that the render method is called in a loop on all rows of a data source, after which the clear method is called exactly once.
Data renderers interpret the data rows as it is applicable for their function e.g. the point renderer takes 2 numbers for the x, y coordinates and potentially numbers for the color value, and the top and bottom error bars. In contrast the box and whiskes renderer takes 5 numbers for the min/max/median/mean and the horizontal coordinate. If the data row is too short for the given data renderer then an error is thrown.
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Attributes
- Graph
- Supertypes
A Renderable of an Either of Renderables
A Renderable of an Either of Renderables
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Attributes
- Companion:
- class
- Graph
- Supertypes
- trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
- ElemEither.type
A Renderable of a sequence of Renderables
A Renderable of a sequence of Renderables
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
A Renderable of a sequence of Eithers of Renderables
A Renderable of a sequence of Eithers of Renderables
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
A Renderable of a sequence of Options of Renderables
A Renderable of a sequence of Options of Renderables
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Attributes
- Companion:
- class
- Graph
- Supertypes
- trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
- ElemOption.type
Attributes
- Graph
- Supertypes
Attributes
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait Identifierclass Objecttrait Matchableclass Any
- Self type
- EmptyIdentifier.type
Describes the name and size of the font set used to draw letters
Describes the name and size of the font set used to draw letters
This description is independent of the rendering context. Each rendering context has to provide a GlyphMeasurer to compute the concrete space occupied by the given Font (font name and font size)
Attributes
- Companion:
- object
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
A Font paired with a GlyphMeasurer forms a FontConfiguration
A Font paired with a GlyphMeasurer forms a FontConfiguration
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
A Layout which does nothing.
Attributes
- Graph
- Supertypes
Attributes
- Graph
- Supertypes
A Layout which stacks elements beside each other and aligns the vertical axis.
A Layout which stacks elements beside each other and aligns the vertical axis.
Attributes
- Graph
- Supertypes
Semantic information about parts of a plot
Semantic information about parts of a plot
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- object EmptyIdentifier.typeclass PlotAreaIdentifier
Attributes
- Graph
- Supertypes
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- object awtrenderer.type
Attributes
- Graph
- Supertypes
Layouts tranform the bounding box of their members.
Layouts tranform the bounding box of their members.
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- class ColumnLayoutobject FreeLayout.typeclass HorizontalStackclass RelativeToFirstclass TableLayoutclass VerticalStack
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- class InLegendobject NotInLegend.type
Describes a line segment with the two end points
Describes a line segment with the two end points
Attributes
- Graph
- Supertypes
Attributes
- Graph
- Supertypes
- Self type
- LinearAxisFactory.type
Attributes
- Graph
- Supertypes
- Self type
- Log10AxisFactory.type
Attributes
- Graph
- Supertypes
Attributes
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait LegendConfigclass Objecttrait Matchableclass Any
- Self type
- NotInLegend.type
Class which holds common settings of plots.
Class which holds common settings of plots.
This class is immmutable.
The intended use of this class is to call the specialized copy methods on
the default instance in org.nspl.par
e.g.
org.nspl.par.withXLog(true).withMain("some text")
or equivalently
org.nspl.par.xlog(true).main("some text")
For each member of this class there are two copy methods:
- One following the naming convention
withX..
e.g.def withXLog(v:Boolean) : Parameters
- the other omitting the
with
prefix, e.g.def xlog(v:Boolean) : Parameters
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Attributes
- Companion:
- class
- Graph
- Supertypes
- trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
- Parameters.type
A shape built up by a path
A shape built up by a path
A path is a sequence of of path operations:
- move to point
- line to point (from last point)
- quadratic to (from last point)
- cubic to (from last point)
Attributes
- Graph
- Supertypes
Attributes
- Companion:
- trait
- Graph
- Supertypes
- trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
- PathOperation.type
Final rendered bounds (if available) and identifier of a plot area
Final rendered bounds (if available) and identifier of a plot area
Attributes
- Graph
- Supertypes
A raw reference used for reference based equality tests
A raw reference used for reference based equality tests
Used to identify certain parts of a composit plot
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
2D point
2D point
Attributes
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Attributes
- Graph
- Supertypes
Attributes
- Graph
- Supertypes
Relative font size
Relative font size
A relative font size of 1 represents the horizontal space taken by one letter
Attributes
- Graph
- Supertypes
- class AnyValtrait Matchableclass Any
Attributes
- Graph
- Supertypes
Basic unit of the scene graph.
Basic unit of the scene graph.
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- class DataElemclass DataElem3Dclass ElemList[T]class ElemOption[A]class Elems1[T1]class Elems20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20]class Elems21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21]class Elems22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22]class ShapeElemclass TextBoxclass XYPlotAreaclass XYZPlotArea
- Self type
- K
A Renderer provides a way to render a type into a RenderingContext
A Renderer provides a way to render a type into a RenderingContext
Concrete RenderingContext implementations need a Shape and TextBox renderer.
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Abstract rendering context
Abstract rendering context
Provides methods to manipulate a state machine of transformation states
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- Self type
- A
Attributes
- Graph
- Supertypes
A Renderable describing a shape
A Renderable describing a shape
Attributes
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait Renderable[ShapeElem]class Objecttrait Matchableclass Any
Path without curves. Points are joined by line segments.
Path without curves. Points are joined by line segments.
Attributes
- Graph
- Supertypes
Font independent Stroke
Font independent Stroke
Width and dash are expressed in terms of doubles
Attributes
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Font dependent Stroke
Font dependent Stroke
Width and dash are expressed in terms of a relative font size
Attributes
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Attributes
- Companion:
- class
- Graph
- Supertypes
- trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
- TableColormap.type
A Layout which puts elements into rows.
A Layout which puts elements into rows.
Attributes
- Graph
- Supertypes
A Renderable describing a text box
A Renderable describing a text box
See the apply factory method in its companion object on how to construct one
Attributes
- Companion:
- object
- Graph
- Supertypes
Holds a text layout
Holds a text layout
Attributes
- bounds
outer bounding box of the layout
- lines
a sequence of lines. Each line is a string with the characters of the line and an AffineTransformation with the line's displacement.
- Companion:
- object
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Attributes
- Companion:
- class
- Graph
- Supertypes
- trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
- TextLayout.type
A Layout which stacks elements on top of each other and aligns the horizontal axis.
A Layout which stacks elements on top of each other and aligns the horizontal axis.
Attributes
- Graph
- Supertypes
Attributes
- Graph
- Supertypes
- Self type
- awtrenderer.type
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- canvasFont.type
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- canvasrenderer.type
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- scalatagrenderer.type
Inherited classlikes
Attributes
- Inherited from:
- Events (hidden)
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait Eventclass Objecttrait Matchableclass Any
A drag event over a plot area.
A drag event over a plot area.
Attributes
- plotArea
identifies which plot area is being dragged. The bounds member of the identifier must be defined.
- Inherited from:
- Events (hidden)
- Graph
- Supertypes
Attributes
- Inherited from:
- Tuples1 (hidden)
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Tuples1 (hidden)
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Tuples1 (hidden)
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Tuples1 (hidden)
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Tuples1 (hidden)
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Tuples1 (hidden)
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Tuples1 (hidden)
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Tuples1 (hidden)
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Tuples1 (hidden)
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait Renderable[Elems17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17]]class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Tuples1 (hidden)
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait Renderable[Elems18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18]]class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Tuples1 (hidden)
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait Renderable[Elems19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19]]class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Tuples1 (hidden)
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Tuples1 (hidden)
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait Renderable[Elems20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20]]class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Tuples1 (hidden)
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait Renderable[Elems21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21]]class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Tuples1 (hidden)
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait Renderable[Elems22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22]]class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Tuples1 (hidden)
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Tuples1 (hidden)
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Tuples1 (hidden)
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Tuples1 (hidden)
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Tuples1 (hidden)
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Tuples1 (hidden)
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Tuples1 (hidden)
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
An event born fro user interaction
An event born fro user interaction
Attributes
- Inherited from:
- Events (hidden)
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
Describes a plot legend
Describes a plot legend
Attributes
- Inherited from:
- Plots (hidden)
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- class LineLegendclass PointLegend
Represents a plot legend drawn with a line
Represents a plot legend drawn with a point (circle)
Represents a plot legend drawn with a point (circle)
Attributes
- Inherited from:
- Plots (hidden)
- Graph
- Supertypes
A scroll event over a plot area.
A scroll event over a plot area.
Attributes
- plotArea
identifies which plot area is being scrolled. The bounds member of the identifier must be defined.
- Inherited from:
- Events (hidden)
- Graph
- Supertypes
Attributes
- Inherited from:
- Plots (hidden)
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait Renderable[XYPlotArea]class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Plots (hidden)
- Graph
- Supertypes
- trait Producttrait Mirrorclass Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Plots3D (hidden)
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait Renderable[XYZPlotArea]class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Plots3D (hidden)
- Graph
- Supertypes
- trait Producttrait Mirrorclass Objecttrait Matchableclass Any
Types
A build describes how to create a new instance of a type from an event and an old instance of that type
A build describes how to create a new instance of a type from an event and an old instance of that type
Attributes
Inherited types
Attributes
- Inherited from:
- Plots (hidden)
Attributes
- Inherited from:
- ImplicitConversions (hidden)
Attributes
- Inherited from:
- ImplicitConversions (hidden)
Attributes
- Inherited from:
- Plots (hidden)
Value members
Concrete methods
Resizes member to fit into bounds. Keeps aspect ratio.
Resizes member to fit into bounds. Keeps aspect ratio.
Attributes
Resizes member to fit into height. Keeps aspect ratio.
Resizes member to fit into height. Keeps aspect ratio.
Attributes
Turns a Seq of Renderables into a Renderable where the elements are laid out according to the given layout
Turns a Seq of Renderables into a Renderable where the elements are laid out according to the given layout
Attributes
Turns a Seq of Renderables into a Renderable while the layout is not changed
Turns a Seq of Renderables into a Renderable while the layout is not changed
Attributes
Turns a Seq of Renderables into a Renderable while the layout is not changed
Turns a Seq of Renderables into a Renderable while the layout is not changed
Attributes
Turns a Seq of Renderables into a Renderable while the layout is not changed
Turns a Seq of Renderables into a Renderable while the layout is not changed
Attributes
Turns a Seq of Eithers of Renderables into a Renderable while the layout is not changed
Turns a Seq of Eithers of Renderables into a Renderable while the layout is not changed
Attributes
Inherited methods
A renderer which renders a data row a single parameterized line (y=a+b*x)
A renderer which renders a data row a single parameterized line (y=a+b*x)
Attributes
- Inherited from:
- Renderers (hidden)
Paints the area between the (x,y) and (x,0) or between (x,y) and (x,y2) if y2 is present
Paints the area between the (x,y) and (x,0) or between (x,y) and (x,y2) if y2 is present
Attributes
- Inherited from:
- Renderers (hidden)
A renderer which renders a data row as a horizontal or vertical bar
A renderer which renders a data row as a horizontal or vertical bar
Attributes
- Inherited from:
- Renderers (hidden)
Attributes
- Inherited from:
- SimplePlots (hidden)
Attributes
- Inherited from:
- SimplePlots (hidden)
Attributes
- Inherited from:
- DataAdaptors (hidden)
Attributes
- Inherited from:
- DataAdaptors (hidden)
Attributes
- Inherited from:
- DataAdaptors (hidden)
Attributes
- Inherited from:
- DataAdaptors (hidden)
Attributes
- Inherited from:
- SimplePlots (hidden)
Attributes
- Inherited from:
- SimplePlots (hidden)
A renderer which renders a data row as a box and whiskers plot
A renderer which renders a data row as a box and whiskers plot
The minimum, maximum, median and mean are rendered.
Attributes
- Inherited from:
- Renderers (hidden)
Attributes
- Inherited from:
- Colors (hidden)
Attributes
- Inherited from:
- Colors (hidden)
Attributes
- Inherited from:
- SimplePlots (hidden)
Need to iterate twice on the data: once for the bounds to get the axis right, once for the plot
Need to iterate twice on the data: once for the bounds to get the axis right, once for the plot
Attributes
- Inherited from:
- DataAdaptors (hidden)
Attributes
- Inherited from:
- DataAdaptors (hidden)
Attributes
- Inherited from:
- DataAdaptors (hidden)
Attributes
- Inherited from:
- DataAdaptors (hidden)
Attributes
- Inherited from:
- DataAdaptors (hidden)
Attributes
- Inherited from:
- DataAdaptors (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Helper method to create a scene graph for a heat map legend
Helper method to create a scene graph for a heat map legend
A heat map legend is a band with different color values to help read off a color scale
Attributes
- Inherited from:
- Plots (hidden)
Attributes
- Inherited from:
- DataAdaptors (hidden)
Attributes
- Inherited from:
- DataAdaptors (hidden)
Attributes
- Inherited from:
- DataAdaptors (hidden)
Attributes
- Inherited from:
- Colors (hidden)
Helper method to create a scene graph for a plot legend
Helper method to create a scene graph for a plot legend
A plot legend is a small table with text label and some visual representation which matches the visual representatin in the plot area
Attributes
- Inherited from:
- Plots (hidden)
A renderer which renders a data row as a sequence of joined line segments
A renderer which renders a data row as a sequence of joined line segments
Each data row is connected with a line segment in the order they are supplied in the data source
Attributes
- Inherited from:
- Renderers (hidden)
A renderer which renders a data row as series of potentially disconnected line segments
A renderer which renders a data row as series of potentially disconnected line segments
Each data row must provide both endpoints of the line segment
Attributes
- Inherited from:
- Renderers (hidden)
Attributes
- Inherited from:
- Renderers3D (hidden)
Attributes
- Inherited from:
- DataAdaptors (hidden)
A renderer which renders a data row as a point on a scatter plot
A renderer which renders a data row as a point on a scatter plot
Attributes
- Inherited from:
- Renderers (hidden)
Attributes
- Inherited from:
- Renderers3D (hidden)
A renderer which renders a data row as a polynom
A renderer which renders a data row as a polynom
It numerically evaluates the polynom sum(a_i x^i) and draws the resulting curve
Attributes
- Inherited from:
- Renderers (hidden)
Attributes
- Inherited from:
- DataAdaptors (hidden)
Attributes
- Inherited from:
- DataAdaptors (hidden)
Attributes
- Inherited from:
- SimplePlots (hidden)
Attributes
- Inherited from:
- SimplePlots (hidden)
Factory method to create the scene graph of a plot in a Cartesian coordinate system.
Factory method to create the scene graph of a plot in a Cartesian coordinate system.
Example a plot of a scatter plot of dots connected with lines:
val someData =
0 until 10 map (i => (i.toDouble, (i * i).toDouble))
val plot = xyplot((someData, List(point(),line()),InLegend("some"))(
par(
main="Main label",
xlab="x axis label",
ylab="y axis label"
)
)
Attributes
- data
Triplets of data source, data renderers, legend configuration. Each triplet describes what data (DataSource) to be drawn and how to represent them (by the DataRenderers), and whether to include them in the legend. A single data source may have multiple visual representations e.g. a point and a line.
- parameters
Generic characteristics of the plot. see org.nspl.par.apply.
- Inherited from:
- SimplePlots (hidden)
Helper method to create a scene graph for a plot area
Helper method to create a scene graph for a plot area
The plot area is the complete area of a single 2D plot :
- x and y axes (Cartesian coordinate system)
- the area defined by those axes
- x and y axis labels
- a main label (title)
Attributes
- Inherited from:
- Plots (hidden)
Helper method to create a scene graph for a plot area. Thsi method create a Build, thus an object which can respond to events
Helper method to create a scene graph for a plot area. Thsi method create a Build, thus an object which can respond to events
The plot area is the complete area of a single 2D plot :
- x and y axes (Cartesian coordinate system)
- the area defined by those axes
- x and y axis labels
- a main label (title)
Attributes
- Inherited from:
- Plots (hidden)
Attributes
- Inherited from:
- SimplePlots (hidden)
Attributes
- Inherited from:
- Plots3D (hidden)
Attributes
- Inherited from:
- Plots3D (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Concrete fields
The default line width.
The default line width.
Attributes
Implicits
Implicits
Inherited implicits
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- Tuples2 (hidden)
Attributes
- Inherited from:
- DataAdaptors (hidden)
Attributes
- Inherited from:
- ImplicitConversions (hidden)
Attributes
- Inherited from:
- ImplicitConversions (hidden)
Attributes
- Inherited from:
- ImplicitConversions (hidden)
Attributes
- Inherited from:
- ImplicitConversions (hidden)
Attributes
- Inherited from:
- ImplicitConversions (hidden)
Attributes
- Inherited from:
- ImplicitConversions (hidden)
Attributes
- Inherited from:
- ImplicitConversions (hidden)
Attributes
- Inherited from:
- ImplicitConversions (hidden)
Attributes
- Inherited from:
- DataAdaptors (hidden)
Attributes
- Inherited from:
- DataAdaptors (hidden)
Attributes
- Inherited from:
- ImplicitConversions (hidden)
Attributes
- Inherited from:
- ImplicitConversions (hidden)
Attributes
- Inherited from:
- ImplicitConversions (hidden)
Attributes
- Inherited from:
- ImplicitConversions (hidden)
Attributes
- Inherited from:
- DataTuples (hidden)
Attributes
- Inherited from:
- DataTuples (hidden)
Attributes
- Inherited from:
- DataTuples (hidden)
Attributes
- Inherited from:
- DataTuples (hidden)
Attributes
- Inherited from:
- DataTuples (hidden)
Attributes
- Inherited from:
- DataTuples (hidden)
Attributes
- Inherited from:
- DataTuples (hidden)
Attributes
- Inherited from:
- DataTuples (hidden)
Attributes
- Inherited from:
- DataTuples (hidden)
Attributes
- Inherited from:
- DataTuples (hidden)
Attributes
- Inherited from:
- DataTuples (hidden)
Attributes
- Inherited from:
- DataTuples (hidden)
Attributes
- Inherited from:
- DataTuples (hidden)
Attributes
- Inherited from:
- DataTuples (hidden)
Attributes
- Inherited from:
- DataTuples (hidden)
Attributes
- Inherited from:
- DataTuples (hidden)
Attributes
- Inherited from:
- DataTuples (hidden)
Attributes
- Inherited from:
- DataTuples (hidden)
Attributes
- Inherited from:
- DataTuples (hidden)
Attributes
- Inherited from:
- DataTuples (hidden)
Attributes
- Inherited from:
- DataTuples (hidden)
Attributes
- Inherited from:
- DataTuples (hidden)
Attributes
- Inherited from:
- DataAdaptors (hidden)
Attributes
- Inherited from:
- DataAdaptors (hidden)