PlotTheme

DeepSpaceTelemetry.PlotTheme.PlotStyleType
PlotStyle

Print-scale parameters of one figure set: scale relative to the double-column design width (178 mm ↔ 673 Makie units), the derived figure sizes, line width, marker size, and the font sizes (body, axis label, tick label, legend, in-axis annotation). Fonts and strokes do not shrink linearly with the width — PlotStyle(scale) floors them so text stays ≥ 7 pt at the final print size — and narrow figures gain height for the legends that wrap.

source
DeepSpaceTelemetry.PlotTheme.labelFunction
label(style::PlotStyle, long::AbstractString, short::AbstractString) -> AbstractString

long at the design width, short for narrow figures (scale < 0.7), where a long axis label would collide with the neighboring panel. Plain and LaTeX strings alike.

source
DeepSpaceTelemetry.PlotTheme.annotation_sideFunction
annotation_side(occupied, x_lo, x_hi; fraction = 0.38) -> Symbol

Which end of an axis an in-axis annotation block should occupy: :right unless one of the occupied x positions — the upright rules and shaded edges a figure draws — falls within fraction of the axis width of the right edge, in which case :left. fraction is the block's own width relative to the axis (annotation_width_fraction), so the test asks exactly whether a rule would cross the text. When both ends are occupied it stays :right, since moving buys nothing.

source
DeepSpaceTelemetry.PlotTheme.label_extentFunction
label_extent(style::PlotStyle, text; fontsize = style.fontsize_label) -> Float64

Estimated rendered length of text in Makie units, i.e. the height a rotated y-label occupies or the width an annotation line takes. The estimate takes half an em per character, the mean advance of the text face, and exists to floor panel heights and to place annotation blocks clear of upright rules; nothing is positioned precisely with it.

source
DeepSpaceTelemetry.PlotTheme.line_advanceFunction
line_advance(style::PlotStyle) -> Float64

Vertical advance between two lines of in-axis annotation text in Makie units: the line height of the theme's text face (height / units_per_EM, the multiplier Makie applies to multi-line text) times the annotation font size. Places a second text primitive directly under a first, e.g. a plain block below a LaTeX headline.

source
DeepSpaceTelemetry.PlotTheme.save_figureFunction
save_figure(fig, dir::String, stem::String; formats = ("png", "pdf"), suffix = "") -> String

Saves fig as <dir>/<stem><suffix>.<ext> for every extension in formats — PNG at px_per_unit = 4 (≥ 380 dpi at print size), vector formats at native size — and returns the path of the first one.

source
DeepSpaceTelemetry.PlotTheme.telemetry_themeFunction
telemetry_theme(style::PlotStyle = PlotStyle())

Returns a CairoMakie Theme configured for publication-quality telemetry plots at the final printed width: (New) Computer Modern faces via MathTeXEngine (a plain font = "Computer Modern" string is ignored by current Makie and silently falls back to DejaVu), ≈ 9 pt body text at double-column scale (floored at ≈ 7 pt for narrower styles), boxed axes with inward ticks, no titles, no minor ticks, faint dashed grid. Tick-label rotation is applied per axis where labels actually crowd (session HH:MM axes), not globally.

source
DeepSpaceTelemetry.PlotTheme.COLOR_COUNTERFACTUALConstant
COLOR_COUNTERFACTUAL

Plot color for counterfactual quantities — the first-in, first-out drain the alert-latency figure contrasts with the realized doctrine (Okabe–Ito reddish purple; role additionally encoded by the dotted line style).

source
DeepSpaceTelemetry.PlotTheme.COLOR_DISRUPTIONConstant
COLOR_DISRUPTION

Base color for disruption-event window shading: a neutral dark wash for the blackout span that fades to zero alpha across the recovery ramp, with dashed same-hue edge lines at higher alpha. Deliberately neutral so it never competes with the series palette.

source
DeepSpaceTelemetry.PlotTheme.COLOR_OUTAGEConstant
COLOR_OUTAGE

Base color for component-outage window shading: a neutral wash at low alpha with dotted same-hue edge lines at higher alpha, so unscheduled infrastructure outages stay apart from the series palette and, by line style, from the dashed disruption shading.

source
DeepSpaceTelemetry.PlotTheme.COLOR_MARKERConstant
COLOR_MARKER

Plot color for the per-event-marker realized latency curves of the alert-latency figure — a family apart from the population bands, its members told apart by cycling line styles.

source
DeepSpaceTelemetry.PlotTheme.COLOR_FUTUREConstant
COLOR_FUTURE

Wash of the not-yet-generated region of the batch-state raster: a near-white that reads as absence rather than as one more state, so the generation front appears as the boundary of the drawn area.

source