I saw one similar topic on these forums but the question was never answered.
Why, after explicitly formatting the legend (Frame Box) in my Contour Plot display box, does it appear correctly in JMP, but then, when I save it as a JPEG or PNG, revert to its default ugly formatting?
Eval( Eval Expr(
C=Contour Plot(
X( :ROW#, :COL# ),
Y( Eval(YY) ),
By( :WAFER ),
Show Data Points(1),
Show Missing Data Points(1),
SendToReport(
Dispatch(
{},
"Contour Plot",
FrameBox,
{Marker Size( 6 ), DispatchSeg(
Marker Seg( 2 ),
{Color( "Medium Light Gray" )}
)}
)
Dispatch( {},"Contour Legend", FrameBox,{Frame Size(110,200)}) //THIS IS THE LINE THAT EFFECTIVELY GETS IGNORED
),
);
) );
//STOP here, legend displays all 6 contours vertically stacked - CORRECT
C<<Save Picture(PIC_STRING,JPEG);
//STOP here, legend has been changed, list now horizontal, picture saves this version, cuts off half the values - INCORRECT
Even stranger is that the other dispatch I send to the report, which makes the markers extra large, does not get reverted. Does it have something to do with the default size of JPEG or PNG files?