Overlay Plot(
X( :Column 1 ),
Y( :Pressure ),
Grouping( :Chamber ),
Overlay Groups,
Connect Points( 1 )
);
Overlay Plot(
X( :Column 1 ),
Y( :Pressure ),
Grouping(
Transform Column(
"Chamber_UC",
Character,
Nominal,
Formula( Uppercase( :Chamber ) )
)
),
Overlay Groups
);
Graph Builder(
Size( 522, 450 ),
Show Control Panel( 0 ),
Graph Spacing( 10 ),
Variables( X( :Column 1 ), Y( :Pressure ), Overlay( :Chamber ) ),
Elements( Points( X, Y, Legend( 5 ) ), Smoother( X, Y, Legend( 6 ) ) ),
SendToReport(
Dispatch(
{},
"400",
ScaleBox,
{Legend Model( 6, Level Name( 0, "A" ), Level Name( 1, "B" ) )}
)
)
);
If you use this Script with your data table you will get three graphs:
First is your Overlay Plot as it is.
Second is an Overlay Plot with a local transformed variable created in the Overlay Plot Menu Window by right click on Chamber in the variable selection area, then using "formula", then click in the Formula Editor on "Chamber" and then "Character"->"Uppercase". This newly build (and not present in the data table) variable can be used as Group variable (may you have to change the Appearance using the red triangle options to avoid two plots.
Third is the easiest one as Xan proposed already. It is build with Graph Builder. You need to place "Column 1" on "X" and "Pressure" on "Y", then "Chamber" on "Overlay". Next you doubleclick on the legend and change the names by doubleclick on "a" and "b" in the now opened window and change it to Uppercase. In case you cannot see both lines and points you need to either drag the missing icon into the graph or hold the shift key and klick on the missing icon on top of the graph.
However, you should now get to your result, either by script or manually.
Cheers,
Martin
/****NeverStopLearning****/