回复:通过轴标签选择数据点?可以添加热图子图以允许选择。
但是有没有直接的方法,只使用轴标签?

Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << new column("X",Nominal, set each value(1));
Graph Builder(
Variables( X( :age ), Y( :weight ), Y( :height ), Y( :X ) ),
Relative Sizes( "Y", [100 100 15] ),
Elements( Position( 1, 1 ), Points( X, Y, Legend( 12 ) ) ),
Elements( Position( 1, 2 ), Points( X, Y, Legend( 13 ) ) ),
Elements( Position( 1, 3 ), Heatmap( X, Y, Legend( 19 ) ) )
)
回复:通过轴标签选择数据点?我更喜欢你的热图想法,但这里有一些几乎可行的东西,可能有助于推动讨论向前发展。 我在想一个数据过滤器而不是轴会起作用,但我找不到摆脱所有控件的方法。

/*JMP STATISTICAL DISCOVERY LLC (“JMP”) PERMITS THE USE OF THIS COMPUTER SOFTWARE CODE (“CODE”) ON AN AS-IS BASIS AND AUTHORIZES YOU TO USE THE CODE SUBJECT TO THE TERMS LISTED HEREIN. BY USING THE CODE, YOU AGREE TO THESE TERMS. YOUR USE OF THE CODE IS AT YOUR OWN RISK. JMP MAKES NO REPRESENTATION OR WARRANTY, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRIGEMENT, AND TITLE, WITH RESPECT TO THE CODE.
You may use the Code solely as part of a software product you currently have licensed from JMP, JMP’s parent company SAS Institute Inc. (“SAS”), or one of JMP’s or SAS’s subsidiaries or authorized agents (the “Software”), and not for any other purpose. The Code is designed to add functionality to the Software but has not necessarily been tested. Accordingly, JMP makes no representation or warranty that the Code will operate error-free. JMP is under no obligation to maintain, support, or continue to distribute the Code.
Neither JMP nor its licensors shall be liable to you or any third-party for any general, special, direct, indirect, consequential, incidental, or other damages whatsoever arising out of or related to your use or inability to use the Code, even if JMP has been advised of the possibility of such damages. Except as otherwise provided above, the Code is governed by the same agreement that governs the Software. If you do not have an existing agreement with JMP or SAS governing the Software, you may not use the Code.
JMP and all other JMP Statistical Discovery LLC product or service names are registered trademarks or trademarks of JMP Statistical Discovery LLC in the USA and other countries. ® indicates USA registration. Other brand and product names are registered trademarks or trademarks of their respective companies.
*/
dt = open ("$SAMPLE_DATA/Big Class.jmp");
nw = New Window( "Graph",
V List Box(
g = Graph Builder(
Size( 754, 634 ),
Show Control Panel( 0 ),
Show Legend( 0 ),
Show X Axis( 0 ),
Show X Axis Title( 0 ),
Variables( X( :age ), Y( :height ), Y( :weight ) ),
Relative Sizes( "Y", [127 128] ),
Elements( Position( 1, 1 ), Points( X, Y, Legend( 18 ) ) ),
Elements( Position( 1, 2 ), Points( X, Y, Legend( 19 ) ) )
),
df = dt <<
Data Filter(
Location( {2831, 76} ),
Width( 741 ),
Add Filter(
columns( :age ),
Where( :age == 17 ),
Display( :age, "Blocks Display" )
)
)
)
);
df << show controls (0);回复:通过轴标签选择数据点?我经常在图中的变量上打开一个 Distribution 平台。 我使用动态链接来选择值并定义选择子集。 现在我可以使用列名和数据值之间的直方图来达到同样的目的。
通过轴标签选择数据点?在图形生成器中,是否可以通过(Shift、Alt、Ctrl)单击分类/序数轴的标签来选择数据点?
即通过单击“14”,与年龄 = 14 对应的所有数据点都会突出显示:

大规模定制回复:通过轴标签选择数据点?附加主题:
如果将多个列用作分层 X 标签,则每个子图和绘图样式都可以选择使用或不使用相应的列作为层次结构的一部分。
这非常有用:
通过取消选择用作 X 轴上第二级的列,热图将仅由第一级分隔,如下所示:

不幸的是,取消选择列没有任何效果 - 图表看起来与选择和取消选择“X - 名称”完全相同:(


Graph Builder(
Variables(
X( :age ),
X( :name, Position( 1 ) ),
Y( :weight ),
Y( :X ),
Color( :age ),
Frequency( :one )
),
Relative Sizes( "Y", [100 15] ),
Elements( Position( 1, 1 ), Points( X( 1 ), X( 2 ), Y ) ),
Elements( Position( 1, 2 ), Heatmap( X( 1 ), Y ) )
)
回复:通过轴标签选择数据点?我知道的老话题,但我回应@马克贝利关于直方图的评论,这里是一个例子:

JSL 重新创建此图:
查看更多...