删除散点图矩阵上的轴刻度大家好,
我正在尝试使用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
);回复:删除散点图矩阵上的轴刻度感谢您的帮助!