我在“拟合组”中同时使用“图表构建器”和“本地数据筛选器”时遇到问题。一旦将“本地数据筛选器”应用于“拟合组”,所有“图表构建器”对象都会立即消失。
(注意,其他平台如 Bivariate 和 Oneway 不受此影响,应用本地数据筛选器后这些窗口仍然存在,只有图表构建器窗口消失。)
以下是一个演示问题的示例脚本:该脚本应该生成三个图,两个图形生成器图和一个单因素方差图。但是,由于本地数据过滤器的存在,图形生成器图被覆盖,您只能看到单因素方差图。如果您从脚本中删除本地数据过滤器,您将看到所有三个图。
BigClass = open("C:\Program Files\SAS\JMPPRO\16\Samples\Data\Big Class.jmp");
BigClass << Fit Group(
Graph Builder(
Size( 534, 456 ),
Show Control Panel( 0 ),
Variables( X( :height ), Y( :weight ) ),
Elements(
Points( X, Y, Legend( 3 ) ),
Line Of Fit( X, Y, Legend( 5 ), Confidence of Fit( 0 ) )
)
),
Graph Builder(
Size( 534, 450 ),
Show Control Panel( 0 ),
Variables( X( :age ), Y( :weight ) ),
Elements( Line( X, Y, Legend( 6 ) ), Points( X, Y, Legend( 7 ) ) )
),
Oneway(
Y( :height ),
X( :age ),
Means and Std Dev( 1 ),
Plot Actual by Quantile( 1 ),
Line of Fit( 0 ),
Box Plots( 1 ),
Mean Lines( 1 ),
Mean Error Bars( 1 ),
Std Dev Lines( 1 ),
Connect Means( 1 ),
X Axis Proportional( 0 ),
Points Jittered( 1 ),
Grand Mean( 0 )
),
<
<LOCAL data="https://community.jmp.com/" filter=""></LOCAL>
Another way to reproduce the problem: run the above script after deleting the Local Data Filter, and you will see three plots. Then, on the Fit Group window with those three plots, click the GUI button to add Local Data Filter, and the Graph Builder plots immediately disappear.
<BR /><P>我在 JMP14 Pro 和 JMP16 Pro 上都测试过,都出现了同样的问题。</P><BR />