Not sure whether the following is what you want to achieve:
![peng_liu_0-1701389869374.png peng_liu_0-1701389869374.png](https://community.jmp.com/t5/image/serverpage/image-id/59173iF93B4F3CB9E965B1/image-size/medium?v=v2&px=400)
This is Gain vs Freq, overlaid by Part. To get it interactively, assuming you are using Graph Builder, select the Lines icons (in yellow), and grab and drop Part to "overlay" (in green).
![peng_liu_1-1701389969049.png peng_liu_1-1701389969049.png](https://community.jmp.com/t5/image/serverpage/image-id/59174i5C02C6A5796F72D9/image-size/medium?v=v2&px=400)
And this is the resulting codes:
Graph Builder(
Size( 533, 456 ),
Show Control Panel( 0 ),
Variables( X( :Freq ), Y( :Gain ), Overlay( :Part ) ),
Elements( Line( X, Y, Legend( 9 ) ) )
);