Subscribe Bookmark RSS Feed

How Close Bivariate Plots


Community Trekker


Jun 23, 2011

I have some JSL code that creates a Bivariate plot called bv1 using data from dt1 but I can't figure out how to close this plot using JSL code. Interestingly, while hovering over dt1 shows the name of this data table, hovering over bv1 shows an empty list.

The scripting guide lists the syntax for closing data tables but it doesn't apply to graphical elements. Does anyone have any suggestions on how to do this?

bv1 = dt1 << Bivariate(
Y( :Name( " Variable Y" ) ),
X( :Name( " Variable X " ) ),
Fit Line( {Line Color( {213, 71, 86} )} )

Super User


Jun 23, 2011

Add these lines to the end of your sample script:

wait(2); //for demonstration;
rbv1 = bv1 << report;
rbv1 << close window;