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