PlotAxis

Defines the style of the axes of PlotGraph.

Standard

General axis for arbitrary input data.

NameTypeAnnotation
min
doubleThe minimum value of the axis. If no value is given, the minimum scale value is set automatically.
max
doubleThe maximum value of the axis. If no value is given, the maximum scale value is set automatically.
majorTickSpacing
doubleThe boundary annotation.
minorTickSpacing
doubleThe spacing of the frame tick intervals.
gridLineSpacing
doubleThe spacing of the grid line intervals
gridLine
plotLineThe style of the grid lines.
unit
stringNaming unit to append to the axis values.
label
stringThe description of the axis.
logarithmic
booleanIf set to 'yes', a logarithmic scale is used for the axis.
color
plotColorSetting the color of the axis bars and labels.
changeDirection
booleanIf set to 'yes', the directions right/up are changed to left/down.

Time

The input data are interpreted as MJD (modified Julian date). The unit of the tick spacings should be appenend to the number and can be any of

A secondary time axis can be added to specify larger intervals (e.g dates of hourly data).

Examples: Settings for Fig. plotAxisType:plotAxisTime1: majorTickSpacing=6H, secondary: majorTickSpacing=1D.

plotAxisTime1
Figure: Time axis for daily data.

Settings for Fig. plotAxisType:plotAxisTime2: majorTickSpacing=2d, secondary: majorTickSpacing=1O, options=FORMAT_DATE_MAP="o yyyy".

plotAxisTime2
Figure: Time axis for monthly data.

Settings for Fig. plotAxisType:plotAxisTime3: majorTickSpacing=1o, secondary: majorTickSpacing=1Y, options=FORMAT_DATE_MAP="mm".

plotAxisTime3
Figure: Time axis for yearly data.

NameTypeAnnotation
min
timeThe minimum value of the time axis. If no value is given, the minimum scale value is set automatically.
max
timeThe maximum value of the time axis. If no value is given, the maximum scale value is set automatically.
majorTickSpacing
stringY: year, o: month
minorTickSpacing
stringD: date, d: day
gridLineSpacing
stringH: clock, h: hour, m: minute, s: second
secondary
sequencesecondary time axis
majorTickSpacing
stringY: year, o: month
minorTickSpacing
stringD: date, d: day
gridLineSpacing
stringH: clock, h: hour, m: minute, s: second
color
plotColorcolor of axis bars and labels
gridLine
plotLineThe style of the grid lines.
changeDirection
booleanright->left / up->down
options
stringadjust date format

Labeled

Axis with string labels. The coordinate system is based on the label indices (e.g. 0, 1, 2).

NameTypeAnnotation
labels
stringtick labels (ticks are placed at their index. e.g. 0, 1, ..., 5)
min
expressionminimum value of the axis
max
expressionmaximum values of the axis
orthogonalLabels
booleanlabels are oriented orthogonal to axis
gridLine
plotLineThe style of the grid lines.
color
plotColorset the color of the axis and labels
changeDirection
booleanIf set to 'yes', the directions right/up are changed to left/down.