PlotAxis
Defines the style of the axes of PlotGraph.
Standard
General axis for arbitrary input data.
Name | Type | Annotation |
---|---|---|
min | double | The minimum value of the axis. If no value is given, the minimum scale value is set automatically. |
max | double | The maximum value of the axis. If no value is given, the maximum scale value is set automatically. |
majorTickSpacing | double | The boundary annotation. |
minorTickSpacing | double | The spacing of the frame tick intervals. |
gridLineSpacing | double | The spacing of the grid line intervals |
gridLine | plotLine | The style of the grid lines. |
unit | string | Naming unit to append to the axis values. |
label | string | The description of the axis. |
logarithmic | boolean | If set to 'yes', a logarithmic scale is used for the axis. |
color | plotColor | Setting the color of the axis bars and labels. |
changeDirection | boolean | If 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
- Y (year, plot with 4 digits)
- y (year, plot with 2 digits)
-
O (month, plot using
FORMAT_DATE_MAP
) - o (month, plot with 2 digits)
-
U (ISO week, plot using
FORMAT_DATE_MAP
) - u (ISO week, plot using 2 digits)
-
r (Gregorian week, 7-day stride from start of week
TIME_WEEK_START
) - K (ISO weekday, plot name of day)
-
D (date, plot using
FORMAT_DATE_MAP
) -
d (day, plot day of month 0-31 or year 1-366, via
FORMAT_DATE_MAP
) -
R (day, same as d, aligned with
TIME_WEEK_START
) -
H (hour, plot using
FORMAT_CLOCK_MAP
) - h (hour, plot with 2 digits)
-
M (minute, plot using
FORMAT_CLOCK_MAP
) - m (minute, plot with 2 digits)
-
S (second, plot using
FORMAT_CLOCK_MAP
) - s (second, plot with 2 digits).
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
.
Settings for Fig. plotAxisType:plotAxisTime2: majorTickSpacing=2d
, secondary: majorTickSpacing=1O
, options=FORMAT_DATE_MAP="o yyyy"
.
Settings for Fig. plotAxisType:plotAxisTime3: majorTickSpacing=1o
, secondary: majorTickSpacing=1Y
, options=FORMAT_DATE_MAP="mm"
.
Name | Type | Annotation |
---|---|---|
min | time | The minimum value of the time axis. If no value is given, the minimum scale value is set automatically. |
max | time | The maximum value of the time axis. If no value is given, the maximum scale value is set automatically. |
majorTickSpacing | string | Y: year, o: month |
minorTickSpacing | string | D: date, d: day |
gridLineSpacing | string | H: clock, h: hour, m: minute, s: second |
secondary | sequence | secondary time axis |
majorTickSpacing | string | Y: year, o: month |
minorTickSpacing | string | D: date, d: day |
gridLineSpacing | string | H: clock, h: hour, m: minute, s: second |
color | plotColor | color of axis bars and labels |
gridLine | plotLine | The style of the grid lines. |
changeDirection | boolean | right->left / up->down |
options | string | adjust date format |
Labeled
Axis with string labels. The coordinate system is based on the label indices (e.g. 0, 1, 2).
Name | Type | Annotation |
---|---|---|
labels | string | tick labels (ticks are placed at their index. e.g. 0, 1, ..., 5) |
min | expression | minimum value of the axis |
max | expression | maximum values of the axis |
orthogonalLabels | boolean | labels are oriented orthogonal to axis |
gridLine | plotLine | The style of the grid lines. |
color | plotColor | set the color of the axis and labels |
changeDirection | boolean | If set to 'yes', the directions right/up are changed to left/down. |