我有一个标准的Variabilty图表,我喜欢以某种方式看到每组中的点数。 有没有办法做到这一点?
我希望在图表上显示点数,类似于直方图上的“显示计数”。
如果您不需要专门进行可变性图表,则可以在图形构建器中执行类似的操作。
Names default to here(1);
dt = open("$SAMPLE_DATA\Big Class.jmp");
dt << Graph Builder(
Size( 528, 454 ),
Show Control Panel( 0 ),
X Group Edge( "Bottom" ),
Variables( Y( :height ), Group X( :age ), Group X( :sex ) ),
Elements(
Points( Y, Legend( 10 ) ),
Caption Box( Y, Legend( 9 ), Summary Statistic( "N" ) ),
Box Plot( Y, Legend( 11 ) )
)
);

并且要遵循Vince的优秀建议,如果您在没有脚本的Graph Builder中执行此操作,则可以只使用Add-.Caption Box,并在Summary Statistic下的控制面板中,顶部项目为N.