cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

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

Box plot setting or JSL update

Chris_Liu_0-1685343487866.pngAs the picture show, the LSL red line is un-show, how to set or update JSL to show as USL always shows?

 

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Box plot setting or JSL update

If you add

		theCol = Column Name( As List( Loc( things, distinctlst[i] ) )[1] );
		colMin = Min( Col Min( As Column( theCol ) ), As Column( theCol )[1] );
		colMax = Max( Col Max( As Column( theCol ) ), As Column( theCol )[2] );
		Myboxplot[axisbox( 2 )] << Min( colMin - .1 * Abs( colMax - colMin ) );
		Myboxplot[axisbox( 2 )] << Max( colMax + .1 * Abs( colMax - colMin ) );

after your line

Myboxplot = mybox << report;

and before line

Myboxplot << save picture( Word( 1, Column Name( As List( Loc( things, distinctlst[i] ) )[1] ), " . " ) || ".emf", emf );

you should get what you want.

 

See the attached JSL file for the complete JSL update

Jim

View solution in original post

1 REPLY 1
txnelson
Super User

Re: Box plot setting or JSL update

If you add

		theCol = Column Name( As List( Loc( things, distinctlst[i] ) )[1] );
		colMin = Min( Col Min( As Column( theCol ) ), As Column( theCol )[1] );
		colMax = Max( Col Max( As Column( theCol ) ), As Column( theCol )[2] );
		Myboxplot[axisbox( 2 )] << Min( colMin - .1 * Abs( colMax - colMin ) );
		Myboxplot[axisbox( 2 )] << Max( colMax + .1 * Abs( colMax - colMin ) );

after your line

Myboxplot = mybox << report;

and before line

Myboxplot << save picture( Word( 1, Column Name( As List( Loc( things, distinctlst[i] ) )[1] ), " . " ) || ".emf", emf );

you should get what you want.

 

See the attached JSL file for the complete JSL update

Jim

Recommended Articles