cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
Jackie_
Level VI

Numbering the overlay plots

Hi All,

 

Is there a way I can number the overlay plots? I want something similar to the pic attached below

 

Jacksmith12_0-1615320457598.png

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Numbering the overlay plots

I am going to point you away from the Overlay Plot for a couple of reasons

  1. The Overlay Plot, and even more for the real old version of the Overlay Plot, that you are using has been depleted in value and will be going away sometime.
  2.  Because of the Tree Structure of the output from the old Overlay Plot, trying to get a value to the left of the label is tricky.

Therefore I am pointing you to the Graph Builder, to a plot that looks just like your included graph.  Here is how I am handling your repest:

over.PNG

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\semiconductor capability.jmp" );

gb = dt << Graph Builder(
	Size( 534, 456 ),
	Show Control Panel( 0 ),
	Variables( X( :PNP3 ), Y( :NPN1 ), Y( :PNP1 ), Y( :NPN2 ), Y( :NPN2 ) ),
	Elements( Position( 1, 1 ), Points( X, Y, Legend( 14 ) ) ),
	Elements( Position( 1, 2 ), Points( X, Y, Legend( 16 ) ) ),
	Elements( Position( 1, 3 ), Points( X, Y, Legend( 18 ) ) ),
	Elements( Position( 1, 4 ), Points( X, Y, Legend( 20 ) ) )
);

(Report( gb ) << xpath( "//TextEditBox" )) << Rotate Text( "Horizontal" );

For( i = 1, i <= 4, i++,
	Report( gb )[Text Edit Box( i + 3 )] << set text(
		Char( i ) || " " || Char( Report( gb )[Text Edit Box( i + 3 )] << get text )
	)
);

Jim

View solution in original post

10 REPLIES 10
Jackie_
Level VI

Re: Numbering the overlay plots

txnelson
Super User

Re: Numbering the overlay plots

What version of JMP are you using?
Jim
Jackie_
Level VI

Re: Numbering the overlay plots

JMP 15

txnelson
Super User

Re: Numbering the overlay plots

I am going to point you away from the Overlay Plot for a couple of reasons

  1. The Overlay Plot, and even more for the real old version of the Overlay Plot, that you are using has been depleted in value and will be going away sometime.
  2.  Because of the Tree Structure of the output from the old Overlay Plot, trying to get a value to the left of the label is tricky.

Therefore I am pointing you to the Graph Builder, to a plot that looks just like your included graph.  Here is how I am handling your repest:

over.PNG

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\semiconductor capability.jmp" );

gb = dt << Graph Builder(
	Size( 534, 456 ),
	Show Control Panel( 0 ),
	Variables( X( :PNP3 ), Y( :NPN1 ), Y( :PNP1 ), Y( :NPN2 ), Y( :NPN2 ) ),
	Elements( Position( 1, 1 ), Points( X, Y, Legend( 14 ) ) ),
	Elements( Position( 1, 2 ), Points( X, Y, Legend( 16 ) ) ),
	Elements( Position( 1, 3 ), Points( X, Y, Legend( 18 ) ) ),
	Elements( Position( 1, 4 ), Points( X, Y, Legend( 20 ) ) )
);

(Report( gb ) << xpath( "//TextEditBox" )) << Rotate Text( "Horizontal" );

For( i = 1, i <= 4, i++,
	Report( gb )[Text Edit Box( i + 3 )] << set text(
		Char( i ) || " " || Char( Report( gb )[Text Edit Box( i + 3 )] << get text )
	)
);

Jim
Jackie_
Level VI

Re: Numbering the overlay plots

Hi @txnelson ,

 

Quick question: What's the syntax for selecting the whole column group (Processes) in Y axis?

 

Jacksmith12_1-1615912579702.png

 

 

Jackie_
Level VI

Re: Numbering the overlay plots

@txnelson any suggestions?
txnelson
Super User

Re: Numbering the overlay plots

You will have to list out all of the columns separately.  Here is the script that is generated by JMP when one has dragged the Processes group to the Y drop area, and the Site column to the X drop area.

Graph Builder(
	Size( 570, 526 ),
	Variables(
		X( :SITE ),
		Y( :NPN1 ),
		Y( :PNP1, Position( 1 ) ),
		Y( :PNP2, Position( 1 ) ),
		Y( :NPN2, Position( 1 ) ),
		Y( :PNP3, Position( 1 ) ),
		Y( :IVP1, Position( 1 ) ),
		Y( :PNP4, Position( 1 ) ),
		Y( :NPN3, Position( 1 ) ),
		Y( :IVP2, Position( 1 ) ),
		Y( :NPN4, Position( 1 ) ),
		Y( :SIT1, Position( 1 ) ),
		Y( :INM1, Position( 1 ) ),
		Y( :INM2, Position( 1 ) ),
		Y( :VPM1, Position( 1 ) ),
		Y( :VPM2, Position( 1 ) ),
		Y( :VPM3, Position( 1 ) ),
		Y( :PMS1, Position( 1 ) ),
		Y( :SNM1, Position( 1 ) ),
		Y( :SPM1, Position( 1 ) ),
		Y( :NPN5, Position( 1 ) ),
		Y( :EP2, Position( 1 ) ),
		Y( :ZD6, Position( 1 ) ),
		Y( :PBA, Position( 1 ) ),
		Y( :PLG, Position( 1 ) ),
		Y( :CAP, Position( 1 ) ),
		Y( :PBA3, Position( 1 ) ),
		Y( :PLG2, Position( 1 ) ),
		Y( :PNP5, Position( 1 ) ),
		Y( :NPN6, Position( 1 ) ),
		Y( :PNP6, Position( 1 ) ),
		Y( :PNP7, Position( 1 ) ),
		Y( :NPN7, Position( 1 ) ),
		Y( :PNP8, Position( 1 ) ),
		Y( :IVP3, Position( 1 ) ),
		Y( :IVP4, Position( 1 ) ),
		Y( :IVP5, Position( 1 ) ),
		Y( :IVP6, Position( 1 ) ),
		Y( :PNP9, Position( 1 ) ),
		Y( :NPN8, Position( 1 ) ),
		Y( :NPN9, Position( 1 ) ),
		Y( :IVP7, Position( 1 ) ),
		Y( :NPN10, Position( 1 ) ),
		Y( :N_1, Position( 1 ) ),
		Y( :PBA1, Position( 1 ) ),
		Y( :WPR1, Position( 1 ) ),
		Y( :B10, Position( 1 ) ),
		Y( :PLY10, Position( 1 ) ),
		Y( :VBE210, Position( 1 ) ),
		Y( :VTN210, Position( 1 ) ),
		Y( :VTP210, Position( 1 ) ),
		Y( :SIT2, Position( 1 ) ),
		Y( :SIT3, Position( 1 ) ),
		Y( :INV2, Position( 1 ) ),
		Y( :INV3, Position( 1 ) ),
		Y( :INV4, Position( 1 ) ),
		Y( :INV5, Position( 1 ) ),
		Y( :FST1, Position( 1 ) ),
		Y( :FST2, Position( 1 ) ),
		Y( :RES1, Position( 1 ) ),
		Y( :RES2, Position( 1 ) ),
		Y( :PNM1, Position( 1 ) ),
		Y( :PPM1, Position( 1 ) ),
		Y( :FNM1, Position( 1 ) ),
		Y( :FPM1, Position( 1 ) ),
		Y( :FST3, Position( 1 ) ),
		Y( :FST4, Position( 1 ) ),
		Y( :RES3, Position( 1 ) ),
		Y( :RES4, Position( 1 ) ),
		Y( :A1, Position( 1 ) ),
		Y( :B1, Position( 1 ) ),
		Y( :A2N, Position( 1 ) ),
		Y( :A2P, Position( 1 ) ),
		Y( :A2P1, Position( 1 ) ),
		Y( :IVP8, Position( 1 ) ),
		Y( :IVP9, Position( 1 ) ),
		Y( :DE_H1, Position( 1 ) ),
		Y( :NF_H1, Position( 1 ) ),
		Y( :ESM1, Position( 1 ) ),
		Y( :ESM2, Position( 1 ) ),
		Y( :ESP1, Position( 1 ) ),
		Y( :YFU1, Position( 1 ) ),
		Y( :VPM4, Position( 1 ) ),
		Y( :PBA2, Position( 1 ) ),
		Y( :PBB1, Position( 1 ) ),
		Y( :LYA1, Position( 1 ) ),
		Y( :LYB1, Position( 1 ) ),
		Y( :DEM1, Position( 1 ) ),
		Y( :DEP1, Position( 1 ) ),
		Y( :NFM1, Position( 1 ) ),
		Y( :PLY1, Position( 1 ) ),
		Y( :VDP1, Position( 1 ) ),
		Y( :VDP2, Position( 1 ) ),
		Y( :SNW1, Position( 1 ) ),
		Y( :RSP2, Position( 1 ) ),
		Y( :PLY2, Position( 1 ) ),
		Y( :RSP1, Position( 1 ) ),
		Y( :VDP3, Position( 1 ) ),
		Y( :PBL1, Position( 1 ) ),
		Y( :PLG1, Position( 1 ) ),
		Y( :VDP4, Position( 1 ) ),
		Y( :SPW1, Position( 1 ) ),
		Y( :VIA1, Position( 1 ) ),
		Y( :INM3, Position( 1 ) ),
		Y( :VPM5, Position( 1 ) ),
		Y( :VPM6, Position( 1 ) ),
		Y( :INM4, Position( 1 ) ),
		Y( :VPM7, Position( 1 ) ),
		Y( :M1_M1, Position( 1 ) ),
		Y( :M2_M2, Position( 1 ) ),
		Y( :P1_P1, Position( 1 ) ),
		Y( :E2A1, Position( 1 ) ),
		Y( :E2B1, Position( 1 ) ),
		Y( :NPN11, Position( 1 ) ),
		Y( :IVP10, Position( 1 ) ),
		Y( :PNP10, Position( 1 ) ),
		Y( :INM5, Position( 1 ) ),
		Y( :VPM8, Position( 1 ) ),
		Y( :VPM9, Position( 1 ) ),
		Y( :INM6, Position( 1 ) ),
		Y( :VPM10, Position( 1 ) ),
		Y( :N2A1, Position( 1 ) ),
		Y( :N2B1, Position( 1 ) ),
		Y( :NM_L1, Position( 1 ) ),
		Y( :P2A1, Position( 1 ) ),
		Y( :P2B1, Position( 1 ) ),
		Y( :PM_L1, Position( 1 ) ),
		Y( :P1, Position( 1 ) ),
		Y( :M1, Position( 1 ) )
	),
	Elements(
		Points(
			X,
			Y( 1 ),
			Y( 2 ),
			Y( 3 ),
			Y( 4 ),
			Y( 5 ),
			Y( 6 ),
			Y( 7 ),
			Y( 8 ),
			Y( 9 ),
			Y( 10 ),
			Y( 11 ),
			Y( 12 ),
			Y( 13 ),
			Y( 14 ),
			Y( 15 ),
			Y( 16 ),
			Y( 17 ),
			Y( 18 ),
			Y( 19 ),
			Y( 20 ),
			Y( 21 ),
			Y( 22 ),
			Y( 23 ),
			Y( 24 ),
			Y( 25 ),
			Y( 26 ),
			Y( 27 ),
			Y( 28 ),
			Y( 29 ),
			Y( 30 ),
			Y( 31 ),
			Y( 32 ),
			Y( 33 ),
			Y( 34 ),
			Y( 35 ),
			Y( 36 ),
			Y( 37 ),
			Y( 38 ),
			Y( 39 ),
			Y( 40 ),
			Y( 41 ),
			Y( 42 ),
			Y( 43 ),
			Y( 44 ),
			Y( 45 ),
			Y( 46 ),
			Y( 47 ),
			Y( 48 ),
			Y( 49 ),
			Y( 50 ),
			Y( 51 ),
			Y( 52 ),
			Y( 53 ),
			Y( 54 ),
			Y( 55 ),
			Y( 56 ),
			Y( 57 ),
			Y( 58 ),
			Y( 59 ),
			Y( 60 ),
			Y( 61 ),
			Y( 62 ),
			Y( 63 ),
			Y( 64 ),
			Y( 65 ),
			Y( 66 ),
			Y( 67 ),
			Y( 68 ),
			Y( 69 ),
			Y( 70 ),
			Y( 71 ),
			Y( 72 ),
			Y( 73 ),
			Y( 74 ),
			Y( 75 ),
			Y( 76 ),
			Y( 77 ),
			Y( 78 ),
			Y( 79 ),
			Y( 80 ),
			Y( 81 ),
			Y( 82 ),
			Y( 83 ),
			Y( 84 ),
			Y( 85 ),
			Y( 86 ),
			Y( 87 ),
			Y( 88 ),
			Y( 89 ),
			Y( 90 ),
			Y( 91 ),
			Y( 92 ),
			Y( 93 ),
			Y( 94 ),
			Y( 95 ),
			Y( 96 ),
			Y( 97 ),
			Y( 98 ),
			Y( 99 ),
			Y( 100 ),
			Y( 101 ),
			Y( 102 ),
			Y( 103 ),
			Y( 104 ),
			Y( 105 ),
			Y( 106 ),
			Y( 107 ),
			Y( 108 ),
			Y( 109 ),
			Y( 110 ),
			Y( 111 ),
			Y( 112 ),
			Y( 113 ),
			Y( 114 ),
			Y( 115 ),
			Y( 116 ),
			Y( 117 ),
			Y( 118 ),
			Y( 119 ),
			Y( 120 ),
			Y( 121 ),
			Y( 122 ),
			Y( 123 ),
			Y( 124 ),
			Y( 125 ),
			Y( 126 ),
			Y( 127 ),
			Y( 128 ),
			Legend( 3 )
		)
	)
)

 

Jim

Re: Numbering the overlay plots

You did not specify if the solution required a script. Jim provided such a solution. I just want to remind you that you can interact with the axis label and edit the label directly.

Jackie_
Level VI

Re: Numbering the overlay plots

How can I edit the axis label with the script?