報告的 JMP 17 腳本圖形大小有沒有辦法在 jmp 17 腳本中設定圖形的框架大小,以便在使用多個圖形產生報告時,圖形具有特定的大小。理想情況下希望能夠自訂每個單獨的圖形大小
下面的腳本曾經在 jmp 14 中工作並正確設定大小,但在 jmp 17 中不起作用
graphname = datatable << Overlay Plot(
X(:x),
Y(:y1, :y2, :y3),
Overlay Axis << {{Scale(Linear), Format("Best"), Min(-5000), Max(25000), Inc(-1000)}},
Connect Thru Missing(1),
Connect Points(1),
SendToReport(
Dispatch({}, "Overlay Plot", OutlineBox, Set Title("Age")),
Dispatch({}, "Overlay Plot", FrameBox, Frame Size(450, 450)),
Dispatch({}, "101", ScaleBox, {Rotated Labels("Angled")})
)
);
編輯 2024-07-24,jthi:新增了 JSL 樣式
自動化和腳本編寫內容組織數據探索和視覺化品質和工藝工程視窗回覆:報告的 JMP 17 腳本圖形大小[編輯]
實際上,命令
current report()[framebox(1)]<
should work. What's the issue?<BR /><BR />
<CODE class=" language-jsl">dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Overlay Plot(
X( :height ),
Y( :weight, :age ),
Overlay Axis << {{Scale( Linear ), Format( "Best" ), Min( -5000 ), Max( 25000 ), Inc( -1000 )}},
Connect Thru Missing( 1 ),
Connect Points( 1 ),
SendToReport(
Dispatch( {}, "Overlay Plot", FrameBox, Frame Size( 450, 450 ) )
)
);回覆:報告的 JMP 17 腳本圖形大小若要自訂每個單獨的圖形大小,如下所示:

使用
Relative Sizes( "X", [157 427] )
來自不同大小的子圖?