Trace Axis Event Reactive Script Example

Getting Started

This script will ensure that the 'Trace#' trace axis is always displayed below the other trace axes.

Put this script in the folder On_XSection_Window_Horizontal_Axis_Changed in your Python scripts directory.

Go to Tools->Options->Environment->Python Scripts and click "Refresh from Disk". Your script should be listed automatically.

Now, whenever you modify the trace axes in a XSection Window, the Trace# axis will always appear last (if it is present)

This simple script allows you to easily maintain the order of the trace axis