cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Discussions

Solve problems, and share tips and tricks with other JMP users.
%3CLINGO-SUB%20id%3D%22lingo-sub-636369%22%20slang%3D%22de-DE%22%20mode%3D%22UPDATE%22%3EBox%20plot%20setting%20or%20JSL%20update%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-636369%22%20slang%3D%22de-DE%22%20mode%3D%22UPDATE%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Chris_Liu_0-1685343487866.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Chris_Liu_0-1685343487866.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F53186i39BD50EB71EDA525%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Chris_Liu_0-1685343487866.png%22%20alt%3D%22Chris_Liu_0-1685343487866.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3EAs%20the%20picture%20show%2C%20the%20LSL%20red%20line%20is%20un-show%2C%20how%20to%20set%20or%20update%20JSL%20to%20show%20as%20USL%20always%20shows%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-636369%22%20slang%3D%22de-DE%22%20mode%3D%22UPDATE%22%3E%3CLINGO-LABEL%3EAutomation%20and%20Scripting%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EData%20Access%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EData%20Blending%20and%20Cleanup%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-636399%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EBetreff%3A%20Boxplot-Einstellung%20oder%20JSL-Update%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-636399%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EWenn%20Sie%20hinzuf%C3%BCgen%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3E%20%20theCol%20%3D%20Column%20Name(%20As%20List(%20Loc(%20things%2C%20distinctlst%5Bi%5D%20)%20)%5B1%5D%20)%3B%0A%20%20colMin%20%3D%20Min(%20Col%20Min(%20As%20Column(%20theCol%20)%20)%2C%20As%20Column(%20theCol%20)%5B1%5D%20)%3B%0A%20%20colMax%20%3D%20Max(%20Col%20Max(%20As%20Column(%20theCol%20)%20)%2C%20As%20Column(%20theCol%20)%5B2%5D%20)%3B%0A%20%20Myboxplot%5Baxisbox(%202%20)%5D%20%26lt%3B%26lt%3B%20Min(%20colMin%20-%20.1%20*%20Abs(%20colMax%20-%20colMin%20)%20)%3B%0A%20%20Myboxplot%5Baxisbox(%202%20)%5D%20%26lt%3B%26lt%3B%20Max(%20colMax%20%2B%20.1%20*%20Abs(%20colMax%20-%20colMin%20)%20)%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3Enach%20deiner%20Zeile%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EMyboxplot%20%3D%20mybox%20%26lt%3B%26lt%3B%20report%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3Eund%20vor%20Zeile%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EMyboxplot%20%26lt%3B%26lt%3B%20save%20picture(%20Word(%201%2C%20Column%20Name(%20As%20List(%20Loc(%20things%2C%20distinctlst%5Bi%5D%20)%20)%5B1%5D%20)%2C%20%22%20.%20%22%20)%20%7C%7C%20%22.emf%22%2C%20emf%20)%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3EDu%20solltest%20bekommen%2C%20was%20du%20willst.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDas%20vollst%C3%A4ndige%20JSL-Update%20finden%20Sie%20in%20der%20angeh%C3%A4ngten%20JSL-Datei%3C%2FP%3E%3C%2FLINGO-BODY%3E
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