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%3EImpostazione%20del%20box%20plot%20o%20aggiornamento%20JSL%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%3E%20Come%20mostra%20l'immagine%2C%20la%20linea%20rossa%20LSL%20non%20viene%20visualizzata%2C%20come%20impostare%20o%20aggiornare%20JSL%20in%20modo%20che%20venga%20visualizzato%20come%20mostra%20sempre%20USL%3F%3C%2FP%3E%3CP%3E%20%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%3EAutomazione%20e%20scripting%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAccesso%20ai%20dati%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ECombinazione%20e%20pulizia%20dei%20dati%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Efinestre%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%3ERi%3A%20Impostazione%20box%20plot%20o%20aggiornamento%20JSL%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-636399%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3ESe%20aggiungi%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%3Edopo%20la%20tua%20linea%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%3Ee%20prima%20della%20riga%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%3Edovresti%20ottenere%20quello%20che%20vuoi.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EVedere%20il%20file%20JSL%20allegato%20per%20l'aggiornamento%20JSL%20completo%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