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 AnyShow all
Members list
Value members
Concrete methods
Value parameters
- bottomPadding
-
padding around the whole plot
Attributes
Value parameters
- draw1Line
-
draws the y=x line
Attributes
Value parameters
- extraLegend
-
Items to be added in the plot legend in addition of those derived from the data sources
Attributes
Value parameters
- frame
-
Draw a rectangular frame around the plot area
Attributes
Value parameters
- leftPadding
-
padding around the whole plot
Attributes
Value parameters
- legendDistance
-
Distance of the legend items from other legend items
Attributes
Value parameters
- legendFontSize
-
Font size of the legend
Attributes
Value parameters
- legendLayout
-
Layout of the legend items
Attributes
Value parameters
- legendWidth
-
Width of the legend
Attributes
Value parameters
- main
-
main plot label (title)
Attributes
Value parameters
- mainFontSize
-
font size of main
Attributes
Value parameters
- mainLabDistance
-
main to frame distance
Attributes
Value parameters
- noLegend
-
skip drawing legend
Attributes
Value parameters
- origin
-
World/Axis coordinate of where the two axes will intersect. Data driven if empty.
Attributes
Value parameters
- rightPadding
-
padding around the whole plot
Attributes
Value parameters
- topPadding
-
padding around the whole plot (includes xlab, ylab, main labels)
Attributes
Value parameters
- xAxisMargin
-
Defines the limit of the x axis. If xlim is empty then the x axis range is (xmax-xmin) * (1+xAxisMargin)
Attributes
Value parameters
- xCustomGrid
-
custom grid lines on x axis
Attributes
Value parameters
- xLabDistance
-
xlab to axis distance
Attributes
Value parameters
- xLabFontSize
-
font size of xlab
Attributes
Value parameters
- xLabelRotation
-
x axis label rotation
Attributes
Value parameters
- xLineStartFraction
-
The start of the line which represents the x axis
Attributes
Value parameters
- xLineWidthFraction
-
The length of the line visually representing the x axis as a fraction of the logical range of the axis
Attributes
Value parameters
- xNoTickLabel
-
skip drawing tick labels on x axis
Attributes
Value parameters
- xNumTicks
-
number of ticks on the x axis
Attributes
Value parameters
- xLabFontSize
-
font size of x ticks
Attributes
Value parameters
- xTickLength
-
tick length on x axis
Attributes
Value parameters
- xTickSpace
-
x axis tick spacing, automatic if empty, recommended empty
Attributes
Value parameters
- xWidth
-
Width of the x axis in relative font size units
Attributes
Value parameters
- xgrid
-
Draw background grid at major ticks on x axis
Attributes
Value parameters
- xlab
-
x axis label
Attributes
Value parameters
- xlim
-
limits (range) of the x axis, data driven if empty
Attributes
Value parameters
- xlog
-
x axis is in log space
Attributes
Value parameters
- xnames
-
custom ticks on the x axis with location (in world/axis space) and label
Attributes
Value parameters
- yAxisMargin
-
Defines the limit of the y axis.
Attributes
Value parameters
- yCustomGrid
-
custom grid line son y axis
Attributes
Value parameters
- yHeight
-
height of the y axis in relative font size units
Attributes
Value parameters
- yLabDistance
-
ylab to axis distance
Attributes
Value parameters
- yLabFontSize
-
font size of ylab
Attributes
Value parameters
- yLabelRotation
-
y axis label rotation
Attributes
Value parameters
- yLineStartFraction
-
The start of the line which represents the x axis
Attributes
Value parameters
- yLineWidthFraction
-
The length of the line visually representing the y axis as a fraction of the logical range of the axis
Attributes
Value parameters
- yNoTickLabel
-
skip drawing tick labels on y axi
Attributes
Value parameters
- yNumTicks
-
number of ticks on the y axis
Attributes
Value parameters
- yLabFontSize
-
font size of y ticks
Attributes
Value parameters
- yTickLength
-
tick length on y axis
Attributes
Value parameters
- yTickSpace
-
y axis tick spacing, automatic if empty, recommended empty
Attributes
Value parameters
- ygrid
-
Draw background grid at major ticks on y axis
Attributes
Value parameters
- ylab
-
y axis label
Attributes
Value parameters
- ylim
-
limits (range) of the y axis, data driven if empty
Attributes
Value parameters
- ylog
-
y axis is in log space
Attributes
Value parameters
- ynames
-
custo ticks on the y axis
Attributes
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product