Skip to contents

Adds a <qe-axes> layer (the x/y axis cross) to the rendered graph. Axis labels are opt-in: each of x and y is FALSE (no label) by default; TRUE uses the dimension name (e.g. "SVD1") and a string sets custom text.

Usage

qe_axes(p, x = FALSE, y = FALSE, show = TRUE, fixed_size = FALSE)

Arguments

p

A qe_plot object.

x

TRUE to label the x-axis with its dimension name, a string for custom text, or FALSE for no x-axis label. Default FALSE.

y

Same as x, for the y-axis. Default FALSE.

show

Logical. FALSE suppresses the axes entirely. Default TRUE.

fixed_size

Logical. TRUE keeps the axis lines and labels at their zoom-1 on-screen size when the plot is zoomed. Default FALSE.

Value

The modified qe_plot object.