cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
Choose Language Hide Translation Bar
terapin
Level VI

How to Close Bivariate Plots with JSL

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} )} )
);

1 ACCEPTED SOLUTION

Accepted Solutions
mpb
mpb
Level VII

Re: How Close Bivariate Plots

Add these lines to the end of your sample script:

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

View solution in original post

1 REPLY 1
mpb
mpb
Level VII

Re: How Close Bivariate Plots

Add these lines to the end of your sample script:

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