Skip to content

xmarker

Add an x-axis marker (vertical line at a specific x value).

h = xmarker(name, ...)

Adds a persistent vertical reference line at a specified x-coordinate. Common for marking thresholds, events, or measurement boundaries.

MathJet-specific.

xmarker('start_time', 'X', 10)
  • ymarker — Add a y-axis marker (horizontal line at a specific y value).
  • marker — Add or get a data-point marker on a graph.