cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
Chris_Liu
Level I

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