Read in the data into JMP
Stack the data either interactively or with the script
Data Table( "Untitled 4" ) << Stack(
columns( :Column X0, :Column X1 ),
Source Label Column( "Label" ),
Stacked Data Column( "Data" )
);
Then run graph builder interactively or by using the script below
Graph Builder(
Variables( X( :Data ), Y( :Column Y ), Overlay( :Column Y ) ),
Elements( Line( X, Y, Legend( 5 ) ) ),
SendToReport(
Dispatch(
{},
"400",
ScaleBox,
{Legend Model(
5,
Properties( 0, {Line Color( 20 )} ),
Properties( 1, {Line Color( 20 )} )
)}
)
)
);
![Graph Builder.png Graph Builder.png](https://community.jmp.com/t5/image/serverpage/image-id/3907i0D83D883809F6CAB/image-size/large?v=v2&px=999)
Jim