.. _auto_curve_swap_xy_points: *SWAP THE XY-POINTS OF A CURVE* =============================== Swaps the X and Y point arrays of a single curve, producing a new curve where the original X values become Y values and vice versa. Use this when you need to invert the axis orientation of a curve (e.g., converting a force-displacement curve to displacement-force). When to use ----------- Classification: **process**. Tagged: ``curve_transform``, ``invert_axes``, ``swap_xy``, ``xy_swap``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - Curve In - curve_in - vector - — - - Input curve whose X and Y point arrays will be swapped; accepts any (X, Y) vector curve — leave as default (null) only if the curve is supplied dynamically upstream. Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - curve_swap_xy_points_output_1 - curve_swap_xy_points_output_1 - vector - Output curve identical to the input but with X and Y arrays exchanged, i.e., original X values are now Y and original Y values are now X. 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_swap_xy_points `_ .. raw:: html

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