cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
%3CLINGO-SUB%20id%3D%22lingo-sub-390900%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E1%20%E3%81%A4%E3%81%AE%E3%83%81%E3%83%A3%E3%83%BC%E3%83%88%E5%86%85%E3%81%AE%E8%A4%87%E6%95%B0%E3%81%AE%E3%82%B0%E3%83%A9%E3%83%95%E3%81%AE%E6%AD%A3%E8%A6%8F%E5%8C%96%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-390900%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF%EF%BC%81%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EJMP%E3%81%AE%E4%BD%93%E9%A8%93%E7%89%88%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%E5%90%8C%E3%81%98%E7%AF%84%E5%9B%B2%E3%81%AE%E5%A4%9A%E3%81%8F%E3%81%AE%E7%95%B0%E3%81%AA%E3%82%8B%E5%88%86%E5%B8%83%E3%82%92%E6%AD%A3%E8%A6%8F%E5%8C%96%E3%81%97%E3%81%9F%E3%81%84%E3%81%A8%E6%80%9D%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%20%E5%85%B7%E4%BD%93%E7%9A%84%E3%81%AB%E3%81%AF%E3%80%81LSL%E3%80%81USL%E3%80%81%E5%B9%B3%E5%9D%87%E3%80%81%E3%81%8A%E3%82%88%E3%81%B3%E6%A8%99%E6%BA%96%E3%81%8C%E7%95%B0%E3%81%AA%E3%82%8B%E9%9D%9E%E5%B8%B8%E3%81%AB%E5%A4%9A%E3%81%8F%E3%81%AE%E5%88%86%E5%B8%83%E3%81%8C%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%E3%80%82%20%E3%81%93%E3%82%8C%E3%82%89%E3%81%99%E3%81%B9%E3%81%A6%E3%82%92%20LSL%3D-1%E3%80%81USL%3D1%E3%80%81%E5%B9%B3%E5%9D%87%3D0%20%E3%81%A7%E6%AD%A3%E8%A6%8F%E5%8C%96%E3%81%97%E3%81%9F%E3%81%84%E3%80%82%20%E8%AA%B0%E3%81%8B%E5%8A%A9%E3%81%91%E3%81%A6%E3%80%82%20THX%EF%BC%9A%EF%BC%89%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-390900%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CLINGO-LABEL%3E%E3%82%B0%E3%83%A9%E3%83%95%E3%82%A3%E3%83%83%E3%82%AF%E3%82%B9%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-390958%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%201%20%E3%81%A4%E3%81%AE%E3%83%81%E3%83%A3%E3%83%BC%E3%83%88%E5%86%85%E3%81%AE%E8%A4%87%E6%95%B0%E3%81%AE%E3%82%B0%E3%83%A9%E3%83%95%E3%81%AE%E6%AD%A3%E8%A6%8F%E5%8C%96%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-390958%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E5%BF%85%E8%A6%81%E3%81%AA%E3%83%81%E3%83%A3%E3%83%BC%E3%83%88%E3%81%AF%E3%80%81Process%20Capability%20%E3%83%97%E3%83%A9%E3%83%83%E3%83%88%E3%83%95%E3%82%A9%E3%83%BC%E3%83%A0%E3%81%A7%E5%85%A5%E6%89%8B%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%0A%3CP%3E%E5%88%86%E6%9E%90%3D%26gt%3B%E5%93%81%E8%B3%AA%E3%81%A8%E3%83%97%E3%83%AD%E3%82%BB%E3%82%B9%3D%26gt%3B%E3%83%97%E3%83%AD%E3%82%BB%E3%82%B9%E8%83%BD%E5%8A%9B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22cap.PNG%22%20style%3D%22width%3A%20613px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22cap.PNG%22%20style%3D%22width%3A%20613px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22cap.PNG%22%20style%3D%22width%3A%20613px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F33287i104034DCC32A6D52%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22cap.PNG%22%20alt%3D%22cap.PNG%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-391143%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERE%3A%201%20%E3%81%A4%E3%81%AE%E3%83%81%E3%83%A3%E3%83%BC%E3%83%88%E5%86%85%E3%81%AE%E8%A4%87%E6%95%B0%E3%81%AE%E3%82%B0%E3%83%A9%E3%83%95%E3%81%AE%E6%AD%A3%E8%A6%8F%E5%8C%96%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-391143%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E3%81%82%E3%82%8A%E3%81%8C%E3%81%A8%E3%81%86%E3%81%94%E3%81%96%E3%81%84%E3%81%BE%E3%81%99%E3%80%81%E3%83%A8%E3%83%A0%E3%81%95%E3%82%93%E3%80%82JMP%20Korea%20Team%201%20%E3%81%8B%E3%82%89%E3%81%94%E9%80%A3%E7%B5%A1%E3%81%95%E3%81%9B%E3%81%A6%E3%81%84%E3%81%9F%E3%81%A0%E3%81%8D%E3%81%BE%E3%81%99%E3%80%82%E3%81%82%E3%82%8A%E3%81%8C%E3%81%A8%E3%81%86%E3%81%94%E3%81%96%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
yummy
Level I

Normalization of multiple graphs in one chart

Hello!

 

I use JMP a trial version.

 

I want to normalize many different distributions in same range. Specifically, There are so many distributions with different LSL, USL, mean, and std. I want to normalize all these things for LSL=-1, USL=1, mean=0. Somebody help me. thx:)

6 REPLIES 6
txnelson
Super User

Re: Normalization of multiple graphs in one chart

The chart you want is available in the Process Capability platform

     Analyze=>Quality and Process=>Process Capability

cap.PNG

Jim
Dan2
Level I

Re: Normalization of multiple graphs in one chart

Can I also see this graph not by row direction but column direction? I would like to see above graph 90 degree rotated.
txnelson
Super User

Re: Normalization of multiple graphs in one chart

The Process Capability platform does not have such an option.  However, with some manipulation, I was able to get the Graph Builder platform to create the below chart

proc.JPG

Jim
Dan2
Level I

Re: Normalization of multiple graphs in one chart

Thanks txnelson! Could you please let me know how you manipulated for this??
txnelson
Super User

Re: Normalization of multiple graphs in one chart

Below is the script that produces the output.  Everything in the script was actually first created by running JMP interactively and then having JMP kick out the JSL that produced the output step.  The only one step that was not produced this way, was the step that normalized the data.  That is a piece of JSL that was written from scratch.

names default to here(1);

// Open the data table.  In this case it is from the sample data
// distributed with JMP
dt=open("$sample_data/semiconductor capability.jmp");

// For this illustration only use some of the columns 
// subset data
varList = {:NPN1, :PNP1, :PNP2, :NPN2, :PNP3, :IVP1, :PNP4, :NPN3, :IVP2, :NPN4, :SIT1,
		:INM1, :INM2, :VPM3, :PMS1, :SPM1, :NPN5, :EP2, :ZD6, :PBA, :PLG, :CAP,
		:PBA3, :PLG2, :PNP5, :NPN6, :PNP7, :NPN7, :PNP8, :IVP3, :IVP4, :IVP5, :IVP6,
		:PNP9, :NPN8, :NPN9, :IVP7, :NPN10, :N_1, :PBA1, :WPR1, :B10, :PLY10,
		:VBE210, :VTN210, :VTP210, :SIT2, :SIT3, :INV2, :INV3, :INV4, :INV5, :FST1,
		:FST2, :RES1, :RES2, :PNM1, :PPM1, :FNM1, :FPM1, :FST3, :FST4, :RES3, :RES4,
		:A1, :B1, :A2N, :A2P, :A2P1, :IVP8, :IVP9, :DE_H1, :NF_H1, :ESM1, :ESM2,
		:ESP1, :YFU1, :PBA2, :PBB1, :LYA1, :LYB1, :DEM1, :DEP1, :NFM1, :PLY1, :VDP1,
		:VDP2, :SNW1, :RSP2, :PLY2, :RSP1, :VDP3, :PBL1, :PLG1, :VDP4, :SPW1, :VIA1,
		:INM3, :VPM5, :INM4, :VPM7, :M1_M1, :M2_M2, :P1_P1, :E2A1, :E2B1, :NPN11,
		:IVP10, :PNP10, :INM5, :VPM8, :INM6, :VPM10, :N2A1, :N2B1, :NM_L1, :P2A1,
		:P2B1, :PM_L1};
	
dtSub = dt << subset( columns( eval(varList), selected rows(0)));

// Pass through all of the data to normalize the values
// Normalize the the data by dividing the distance from the target to its value by the size of the 
// target - spec limit
For( theCol = 1, theCol <= N Cols( dtSub ), theCol++,
	specs = Column( dtSub, Char( varList[theCol] ) ) << get property( "spec limits" );
	target = specs["Target"];
	lowerSize = -1 * (target - specs["LSL"]);
	upperSize = specs["USL"] - target;
	For( theRow = 1, theRow <= N Rows( dtSub ), theRow++,
		If( Column( dtSub, Char( varList[theCol] ) )[theRow] < target,
			Column( dtSub, Char( varList[theCol] ) )[theRow] = (target - Column( dtSub, Char( varList[theCol] ) )[theRow]) / lowerSize,
			Column( dtSub, Char( varList[theCol] ) )[theRow] = (Column( dtSub, Char( varList[theCol] ) )[theRow] - target) / upperSize
		)
	);
);

// Stack the data to put in the form to use Graph Builder for histograms
dtStack = dtSub <<
Stack(
	columns(
		eval( varList )
	),
	Source Label Column( "Label" ),
	Stacked Data Column( "Data" ));

// Run Graph Builder
dtStack << Graph Builder(
	Size( 1032, 464 ),
	Show Control Panel( 0 ),
	Variables( X( :Label ), Y( :Data ), Overlay( :Label ) ),
	Elements( Box Plot( X, Y, Legend( 5 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"Data",
			ScaleBox,
			{Format( "Best", 12 ), Min( -5.34675407881179 ), Max( 6.35855742858709 ),
			Inc( 1 ), Minor Ticks( 1 ), Add Ref Line( 1, "Dashed", "Black", "", 1 ),
			Add Ref Line( -1, "Dashed", "Black", "", 1 )}
		)
	)
);

gr1.JPG

Jim

RE: Normalization of multiple graphs in one chart

Thank you, Mr. Yeom.  JMP Korea Team 1 will contact you. Thank you.