- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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;
wait(2); //for demonstration;
rbv1 = bv1 << report;
rbv1 << close window;
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
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;
wait(2); //for demonstration;
rbv1 = bv1 << report;
rbv1 << close window;