From your request, it is difficult to determine if you are wanting to (1) use the JMP 12 feature to add the graphs as an expression column; or (2) you would like to embed a journal file of graphs; or (3) add a script to generate the graphs. Jim Nelson provided an example for #3.
The example code below uses the JMP sample data of SAT scores, creates a summary report of SAT Math and Verbal scores by State, and for each State embeds an Overlay trend plot in an expression column for the corresponding row, and makes the expression column a label.
It also includes using Graph Builder to provide an example usage of this table. Hover over a State and see the trend plot. This is an example for #1. If you are looking for an example for #2, or something else, please provide more details.
dtraw = Open("$sample_data\SATByYear.jmp");
ovl = Overlay Plot(
X( :Year ),
Y( :SAT Verbal, :SAT Math ),
Y Scale( Left, Right ),
Connect Thru Missing( 1 ),
By( :State ),
SendToReport(
Dispatch( {}, "Overlay Plot Graph", FrameBox, {Frame Size( 288, 158 )} ),
Dispatch(
{},
"Overlay Plot Graph",
FrameBox( 2 ),
{Frame Size( 288, 158 )}
)
)
);
dtsumry = dtraw << Summary(
Group( :State ),
Mean( :SAT Verbal ),
Mean( :SAT Math ),
Freq( "None" ),
Weight( "None" )
);
dtsumry << new Column("ByYearPic", Expression);
for(i=1, i<=nitems(ovl), i++,
ttl = report(ovl[i])[OutlineBox(1)] << get title();
report(ovl[i])[OutlineBox(1)] << set title(word(2,ttl, "=") || " Scores by Year");
pic = ovl[i] <<get picture;
column(dtsumry, "ByYearPic")[i] = pic;
);
column(dtsumry, "ByYearPic")<<label(1);
ovl<< close window();
New window("View", VListBox(
Graph Builder(
Level Spacing Color( "Medium Light Gray" ),
Graph Spacing( 6 ),
Variables( Color( :Name( "Mean(SAT Verbal)" ) ), Shape( :State ) ),
Elements( Map Shapes( Legend( 6 ) ) ),
show control panel(0)
),
Graph Builder(
Level Spacing Color( "Medium Light Gray" ),
Graph Spacing( 6 ),
Variables( Color( :Name( "Mean(SAT Math)" ) ), Shape( :State ) ),
Elements( Map Shapes( Legend( 6 ) ) ),
Show control panel(0)
)
));