刪除散點圖矩陣上的軸刻度大家好,
我正在嘗試使用多元平台創建一個簡單的相關熱力。 我想隱藏散點圖矩陣中的點以僅強調熱圖。 同樣,我想刪除軸刻度線以消除圖表上的噪音。 我嘗試創建一個名為“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 平台?
提前謝謝你的幫助,
擔
數據探索和可視化回复:刪除散點圖矩陣上的軸刻度@danchild ,
吉姆, @tx尼爾森,給了你一個很好的解決方案。這只是一種替代方法。 我喜歡它,因為它保留了 JMP 報告結構,只是一些顯示框不可見。
xid = hm << Xpath( "//AxisBox" );
xid << visibility( "Collapse" );
Xpath 找到所有 AxisBox 顯示框,然後只需為它們分配一個 Collapse 屬性即可。
僅供參考。
回复:刪除散點圖矩陣上的軸刻度感謝您的幫助!回复:刪除散點圖矩陣上的軸刻度問題是,當您刪除 AxisBox(1) 時,JMP 會將軸框的其餘部分調整為 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
);