cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP Security Notice: CVE-2026-109618 and CVE-2026-109619

    JMP promptly initiated a review of its products, services, and relevant infrastructure for exposure to CVE-2026-109618 and CVE-2026-109619.

    Our assessment of JMP products has not identified exposure to these vulnerabilities. Where remediation was required within supporting environments, appropriate security updates and controls have been applied and validated.

    We have identified no evidence of successful exploitation or unauthorized access to JMP systems or customer information associated with these vulnerabilities.

    JMP continues to monitor the issue and relevant vendor guidance. No action is required by JMP customers at this time.

  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
UserID16644
Level V

How to combine multiple plots in 1 tab using JSL

Hi, I have two different plots and I would like to combine them in one tab on my journal.

 

dt=open("$SAMPLE_DATA/big class.jmp");

// Plot 1
biv = dt << Bivariate( invisible, Y( :height ), X( :weight ), By( :sex ) );

// Create the window, with the first tab
nw=New Window("Tabs", text box("here are the tabs"), tb = Tab Box((report(biv[1])[outlinebox(1)])<<get title ,report(biv[1])));

//Plot 2
biv2 = bivariate( x( :height ), y( :weight ), invisible );

tb << Append( "Plot 2", biv2 << Report); //what I currently do

 

My question is, how can I combine these two different plot in 1 tab? I am using JMP 15

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: How to combine multiple plots in 1 tab using JSL

Try the below JSL, it is one way to do what you want

txnelson_0-1705980617413.png

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/big class.jmp" );

// Plot 1
biv = dt << Bivariate( invisible, Y( :height ), X( :weight ), By( :sex ) );
dis = Distribution( Continuous Distribution( invisible, Column( :height ) ) );

// Create the window, with the first tab
nw = New Window( "Tabs",
	Text Box( "here are the tabs" ),
	tb = Tab Box( (Report( biv[1] )[Outline Box( 1 )]) << get title, Report( biv[1] ) )
);

//Plot 2
biv2 = bivariate( x( :height ), y( :weight ), invisible );

tb << Append( "Plot 2", hlb = H List Box( biv2 << Report ) ); // Add an H List Box to the tab

hlb << append( dis << report );  // Append additional items to the H List Box
Jim

View solution in original post

1 REPLY 1
txnelson
Super User

Re: How to combine multiple plots in 1 tab using JSL

Try the below JSL, it is one way to do what you want

txnelson_0-1705980617413.png

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/big class.jmp" );

// Plot 1
biv = dt << Bivariate( invisible, Y( :height ), X( :weight ), By( :sex ) );
dis = Distribution( Continuous Distribution( invisible, Column( :height ) ) );

// Create the window, with the first tab
nw = New Window( "Tabs",
	Text Box( "here are the tabs" ),
	tb = Tab Box( (Report( biv[1] )[Outline Box( 1 )]) << get title, Report( biv[1] ) )
);

//Plot 2
biv2 = bivariate( x( :height ), y( :weight ), invisible );

tb << Append( "Plot 2", hlb = H List Box( biv2 << Report ) ); // Add an H List Box to the tab

hlb << append( dis << report );  // Append additional items to the H List Box
Jim

Recommended Articles