cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

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