I have a data table with the columns "Time" (Numeric, continuous, formatted in 12-hr h:m:s) and "Name" (Character, just a list of the experiment to which each time point is associated). When I graph using other columns not mentioned here as the Y-axis, and Time as the x-axis, the issue arises where each plot between x-grouping variables is shifted since the x-axis scale remains the same between x-grouping variables (Figure 1).

Figure 1. Each x-grouping variable is a "Name" column variable with "Name also as the Overlay.
My thought is to write a script to:
1. Create a new column
2. Code new column with a formula that converts the "Time" column to time in seconds, starting at "0" and counting up with a specified interval (2 seconds in this case), resetting to 0 as soon as the "Name" column changes values.
My main questions are:
1. Is this possible?
2. Is there an easier way to do this without making a new column?
Currently on JMP 17.2.0 on Windows 10.
Thanks!