我的意思是如何组合两个图表,就像将一个图表叠加在另一个图表上一样大家好,
我有两张图,我想在另一张图上有一张图。
我尝试使用组合窗口并复制粘贴框架内容,但是当我将鼠标悬停在粘贴的图形内容上时,值没有弹出,任何人都可以帮助我解决这个问题。

谢谢你,
哈努贾
内容组织回复:如何组合两个图表,我的意思是像将一个图表叠加在另一个图表上一样这是一个有点类似于您需要将 2 个数据表输入放在一起绘制成一个图的示例。您需要研究脚本,然后获取新信息并将其应用到您的脚本中。

这是脚本
Names Default To Here( 1 );
dt = Open( "$sample_data/semiconductor capability.jmp" );
// Create 2 Data tables to mimic the Discussion Question situation
dt1 = dt << subset( columns(Wafer, Site, NPN1), selected rows(0));
dt2 = dt << subset( columns(lot_id, Wafer, Site, NPN2), selected rows(0));
// Select rows wanted from table dt1
dt1 << select where( :wafer <= 10 );
// Create new subset of selected rows
dt1Final = dt1 << subset( selected rows( 1 ), selected columns( 0 ) );
// Select rows wanted from table dt2
dt2 << select where( contains( {"lot01", "lot02"}, :lot_id ));
// Create new subset of selected rows
dt2Final = dt2 << subset( selected rows( 1 ), selected columns( 0 ) );
// put the data together
dtTogether = dt1Final << concatenate( dt2Final );
gb = Graph Builder(
Size( 534, 450 ),
Show Control Panel( 0 ),
Variables( X( :wafer ), Y( :NPN1 ), Y( :NPN2, Position( 1 ) ) ),
Elements( Points( X, Y( 1 ), Y( 2 ), Legend( 5 ) ) )
);
theReport = report(gb);
// Create the reference lines
theYColList = { "NPN1", "NPN2" };
For( i = 1, i <= N Items( theYColList ),i++,
specs = Column( theYColList[i] ) << get property( "spec limits" );
If( Try( specs["USL"], "" ) != "",
theReport[AxisBox( 2 )] << Add Ref Line( specs["USL"], "Dashed", black, theYColList[i] || " USL" )
);
If( Try( specs["LSL"], "" ) != "",
theReport[AxisBox( 2 )] << Add Ref Line( specs["LSL"], "Dashed", black, theYColList[i] || " LSL" )
);
If( Try( specs["Target"], "" ) != "",
theReport[AxisBox( 2 )] << Add Ref Line( specs["Target"], "Dashed", black, theYColList[i] || " Target" )
);
);
回复:如何组合两个图表,我的意思是像将一个图表叠加在另一个图表上一样我提出的图表是两个图表的可接受组合吗? 如果没有,并且您需要在两个脚本中定义不同的覆盖,那么我不知道如何从两个不同的数据表中剪切并粘贴图表。回复:如何组合两个图表,我的意思是像将一个图表叠加在另一个图表上一样虽然使用图形生成器很容易覆盖图形,但当覆盖多于一列时,显示规格限制会出现问题。然而,添加一个小脚本来添加参考线是一个简单的过程。这是一种方法

Names Default To Here( 1 );
dt = Open( "$sample_data/semiconductor capability.jmp" );
gb = Graph Builder(
Size( 534, 450 ),
Show Control Panel( 0 ),
Variables( X( :wafer ), Y( :NPN1 ), Y( :NPN2, Position( 1 ) ) ),
Elements( Points( X, Y( 1 ), Y( 2 ), Legend( 8 ) ) )
);
// determine the columns to add limit reference lines from
theReport = Current Report();
theScript = Char( (theReport[Outline Box( 1 )] << get scriptable object) << get script );
theYColList = {};
While( Contains( theScript, "Y(:" ) != 0,
theScript = Substr( theScript, Contains( theScript, "Y(:" ) + 3 );
Insert Into( theYColList, Word( 1, theScript, ":)," ) );
);
// Create the reference lines
For( i = 1, i <= N Items( theYColList ),i++,
specs = Column( theYColList[i] ) << get property( "spec limits" );
If( Try( specs["USL"], "" ) != "",
theReport[AxisBox( 2 )] << Add Ref Line( specs["USL"], "Dashed", black, theYColList[i] || " USL" )
);
If( Try( specs["LSL"], "" ) != "",
theReport[AxisBox( 2 )] << Add Ref Line( specs["LSL"], "Dashed", black, theYColList[i] || " LSL" )
);
If( Try( specs["Target"], "" ) != "",
theReport[AxisBox( 2 )] << Add Ref Line( specs["Target"], "Dashed", black, theYColList[i] || " Target" )
);
);