刪除散點圖矩陣上的軸刻度大家好,
我正在嘗試使用Multivariate平台創建一個簡單的關聯熱hap。 我想隱藏散點圖矩陣中的點以僅強調熱圖。 同樣,我想刪除軸刻度線以消除圖中的噪音。 我嘗試創建一個名為“ hm”的對象並刪除AxisBox(i)組件。 在我達到i = 7之前,它似乎一直有效,並且看起來任何大於7的數字都將引發錯誤。 這是我當前的腳本:
hm = Multivariate(
Y( :MCD, :AAPL, :DKS, :KR, :BAX ),
Estimation Method( "Row-wise" ),
Scatterplot Matrix(
Show Points( 0 ),
Density Ellipses( 0 ),
Shaded Ellipses( 0 ),
Heat Map( 1 ),
Show Correlations( 1 )
),
Color Map on Correlations( 1 ),
SendToReport(
Dispatch(
{},
"Scatterplot Matrix",
OutlineBox,
{Set Title( "Correlation Heat Map: Unrelated Industries" )}
)
)
);
report(hm)[AxisBox(1)]<<DELETE> </DELETE>為了更清楚起見,我還刪除了軸框之前和之後包含了我的圖表的圖片。


無論是修改腳本還是完全使用其他JMP平台,是否都有更好的方法來實現我的目標?
提前謝謝你的幫助,
擔
圖形腳本編寫回复:刪除散點圖矩陣上的軸刻度問題是,當刪除AxisBox(1)時,JMP會將Axis Boxes的其餘部分調整為1-9,而不是2-10。因此,刪除“軸箱”的最簡單方法是:
hm = Multivariate(
Y( :MCD, :AAPL, :DKS, :KR, :BAX ),
Estimation Method( "Row-wise" ),
Scatterplot Matrix(
Show Points( 0 ),
Density Ellipses( 0 ),
Shaded Ellipses( 0 ),
Heat Map( 1 ),
Show Correlations( 1 )
),
Color Map on Correlations( 1 ),
SendToReport(
Dispatch(
{},
"Scatterplot Matrix",
OutlineBox,
{Set Title( "Correlation Heat Map: Unrelated Industries" )}
)
)
);
For( i = 1, i <= 10, i++,
Report( hm )[AxisBox( 1 )] << delete
);回复:刪除散點圖矩陣上的軸刻度感謝您的幫助!