CONVERT VALUES OF X OR Y TO LOG SCALE

Applies a base-10 logarithm transformation to the X, Y, or both axes of a curve. Use this worker when you need to convert linear-scale curve data to log scale for visualisation, frequency analysis, or downstream log-space processing.

When to use

Classification: process.

Tagged: axis_transform, curve_transform, log10, log_scale, x_axis, y_axis.

Inputs

Label ID Type Default Required Description
Base Curve base_curve vector   Input curve (X/Y vector pair) whose axis values will be log-transformed; must contain strictly positive values on the axis being transformed.
Axis axis string x   Axis to apply the log transformation to: ‘x’ (X-axis only, default), ‘y’ (Y-axis only), or ‘xy’ (both axes simultaneously).

Outputs

Label ID Type Description
curve_to_Log_output_1 curve_to_log_output_1 vector Output curve with the selected axis values replaced by their base-10 logarithm, preserving the original axis that was not transformed.

Disciplines

  • data.curve.transform

Runnable example

A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=curve_to_log


Auto-generated from transformation schema. Worker id: curve_to_log. Schema hash: 9a28c73537bc. Hand-curated docs in workerexamples/ override this page when present.