如何在与按钮相同的窗口中输出图形?当我在按钮中写入输出图形的命令时,它实际上会输出到新窗口中。我应该怎么做才能在同一个窗口中输出图形(如下图所示)?
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
nw2 = New Window( "New window",
outputG = Button Box( "Output Graph",
Outline Box( "Graph Output",
Bivariate( y( :weight ), x( :height ) ); )
)
);
数据探索与可视化回复:如何在与按钮相同的窗口中输出图形?你可以将它们收集到一些显示元素中
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
nw2 = New Window("New window",
outputG = Button Box("Output Graph",
vlb << Append(Outline Box("Graph Output", Bivariate(y(:weight), x(:height))))
),
vlb = V List Box()
);回复:如何在与按钮相同的窗口中输出图形?单击按钮框时创建的对象需要附加回窗口。
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
nw2 = New Window( "New window",
outputG = Button Box( "Output Graph",
ob = Outline Box( "Graph Output",
Bivariate( y( :weight ), x( :height ) )
);
nw2 << append( ob );
)
);