Hi JMP users,
I am quite a novice in Scripting and would really appreciate a quick pointer. My script follows. Question is where do I insert a command to send the heatmap report for each iteration to the same journal sequentially and what command should I use?
Script:
directory = Pick Directory( "Select a directory" );
Pick File( "Select JMP File", directory, {"JMP Files|jmp;jsl;jrn", "All Files|*"}, 1, 0, "newJmpFile.jmp" );
For( i = 1, i < 5, i++,
Graph Builder(
Show Control Panel( 0 ),
Variables( X( :RowN ), Y( :ColN ), Color( :bh ) ),
Elements( Heatmap( X, Y, Color, Legend( 2 ) ) ),
Local Data Filter(
Location( {106, 106} ),
Add Filter( columns( :SN ), Where( :SN == i ), Display( :SN, Size( 221, 259 ), List Display ) ),
Mode( Select( 0 ), Show( 1 ), Include( 1 ) )
),
SendToReport(
Dispatch( {}, "RowN", ScaleBox, {Show Major Ticks( 0 ), Rotated Labels( "Automatic" )} ),
Dispatch( {}, "ColN", ScaleBox, {Show Major Ticks( 0 )} ),
Dispatch(
{},
"400",
ScaleBox,
{Legend Model(
2,
Properties(
0,
{gradient(
{Color Theme( "Blue to Green to Red" ), Label Levels(
[155 158 161 164 167 170 173 176 179 182 185]
), Width( 15 ), Reverse Colors( 1 )}
)}
)
)}
)
)
)
);