cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
Get the free JMP Student Edition for qualified students and instructors at degree granting institutions.
Choose Language Hide Translation Bar
View Original Published Thread

How to Close Bivariate Plots with JSL

terapin
Level VI

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;