CREATE A NEW CURVE BY ADDING THE X-VALUES OF THE SECOND CURVE TO THE BASE-CURVE.

Merges two curves into one by concatenating the x/y points of the second curve onto the base curve. Supports optional x-axis sorting, x-offset alignment before merging, and configurable handling of duplicate x-values at the join point.

When to use

Classification: process.

Tagged: append, concatenate, curve_merge, curves, identical_points, merge, offset, sort_x.

Inputs

Label ID Type Default Required Description
Base Curve base_curve vector   The primary curve (x/y vector) to which the second curve will be appended; accepts multiple curves when batch-merging.
Second Curve second_curve vector   The curve whose points are appended to the base curve; its x-values follow those of the base curve in the merged result.
Sort X-Values sort_x scalar no   Whether to sort the merged curve by ascending x-values after concatenation (‘yes’/’no’); default ‘no’ preserves original point order.
Offset Before Merging offset scalar no   Whether to shift the second curve’s x-values so they start immediately after the last x-value of the base curve before merging (‘yes’/’no’); default ‘no’ uses raw x-values.
Identical Point Treatment identical_points scalar none   Treatment for duplicate x-values at the merge boundary: ‘none’ keeps all points, ‘retain_first_point’ drops the duplicate from the second curve, ‘retain_last_point’ drops the duplicate from the base curve; default ‘none’.

Outputs

Label ID Type Description
curves_merge_output_1 curves_merge_output_1 vector The merged x/y curve containing all points from the base curve followed by those of the second curve, with any requested sorting, offset, and duplicate-point treatment applied.

Disciplines

  • data.curve.pair
  • 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=curves_merge


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