cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Submit your abstract to the call for content for Discovery Summit Americas by April 23. Selected abstracts will be presented at Discovery Summit, Oct. 21- 24.
Discovery is online this week, April 16 and 18. Join us for these exciting interactive sessions.
Choose Language Hide Translation Bar
Pushpendra
Level I

How to edit X-axis Group name in variability chart using script

Hello All,

I have plotted a variability chart by grouping some variable using script.

Please find the attached plot.

I don't want to print group variable name into the x-axis but I want it in the variable title name.

Could you please give a solution to delete the X variable name from the X axis.

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: How to edit X-axis Group name in variability chart using script

Here are 3 ways to edit out the Group 1 X axis

Names Default To Here( 1 );

// Setup some sample data to resemble the example provided
dt = Open( "$SAMPLE_DATA\Semiconductor Capability.jmp" );
dt:NPN1 << set name( "ISO_NW-N+" ) << set property( "Units", "A" );
dt << New Column( "Lot_Des", character, set each value( "ML7" ) );
dt << New Column( "DR", character, set each value( "S_0.40" ) );
dt << New Column( "Group 1", character, set each value( "ISO_NW-N+" ) );

// Sample 1, use the window name as the reference to delete the
// 2 components of the X axis that are not wanted
Variability Chart(
	Y( :Name( "ISO_NW-N+" ) ),
	X( :Group 1, :DR, :Lot_Des, :wafer ),
	Max Iter( 100 ),
	Conv Limit( 0.00000001 ),
	Number Integration Abscissas( 128 ),
	Number Function Evals( 65536 ),
	Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
	Std Dev Chart( 0 )
);
Window( "Semiconductor Capability - Variability Chart of ISO_NW-N+" )[Border Box( 5 )] << delete;
Window( "Semiconductor Capability - Variability Chart of ISO_NW-N+" )[NomAxisBox( 4 )] << delete;

// Sample 2, Set a Pointer/Handle variable reference to delete the
// 2 components of the X axis that are not wanted
VC = Variability Chart(
	Y( :Name( "ISO_NW-N+" ) ),
	X( :Group 1, :DR, :Lot_Des, :wafer ),
	Max Iter( 100 ),
	Conv Limit( 0.00000001 ),
	Number Integration Abscissas( 128 ),
	Number Function Evals( 65536 ),
	Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
	Std Dev Chart( 0 )
);
Report( VC )[Border Box( 5 )] << delete;
Report( VC )[NomAxisBox( 4 )] << delete;

// Sample 3, Since there is only 1 value for the Group 1 column,
// and the title of the chart will come from the Y Column, not
// the X Column, then just leave Group 1 out of the definition
// of the chart
Variability Chart(
	Y( :Name( "ISO_NW-N+" ) ),
	X( :DR, :Lot_Des, :wafer ),
	Max Iter( 100 ),
	Conv Limit( 0.00000001 ),
	Number Integration Abscissas( 128 ),
	Number Function Evals( 65536 ),
	Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
	Std Dev Chart( 0 )
);


Jim

View solution in original post

2 REPLIES 2
txnelson
Super User

Re: How to edit X-axis Group name in variability chart using script

Here are 3 ways to edit out the Group 1 X axis

Names Default To Here( 1 );

// Setup some sample data to resemble the example provided
dt = Open( "$SAMPLE_DATA\Semiconductor Capability.jmp" );
dt:NPN1 << set name( "ISO_NW-N+" ) << set property( "Units", "A" );
dt << New Column( "Lot_Des", character, set each value( "ML7" ) );
dt << New Column( "DR", character, set each value( "S_0.40" ) );
dt << New Column( "Group 1", character, set each value( "ISO_NW-N+" ) );

// Sample 1, use the window name as the reference to delete the
// 2 components of the X axis that are not wanted
Variability Chart(
	Y( :Name( "ISO_NW-N+" ) ),
	X( :Group 1, :DR, :Lot_Des, :wafer ),
	Max Iter( 100 ),
	Conv Limit( 0.00000001 ),
	Number Integration Abscissas( 128 ),
	Number Function Evals( 65536 ),
	Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
	Std Dev Chart( 0 )
);
Window( "Semiconductor Capability - Variability Chart of ISO_NW-N+" )[Border Box( 5 )] << delete;
Window( "Semiconductor Capability - Variability Chart of ISO_NW-N+" )[NomAxisBox( 4 )] << delete;

// Sample 2, Set a Pointer/Handle variable reference to delete the
// 2 components of the X axis that are not wanted
VC = Variability Chart(
	Y( :Name( "ISO_NW-N+" ) ),
	X( :Group 1, :DR, :Lot_Des, :wafer ),
	Max Iter( 100 ),
	Conv Limit( 0.00000001 ),
	Number Integration Abscissas( 128 ),
	Number Function Evals( 65536 ),
	Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
	Std Dev Chart( 0 )
);
Report( VC )[Border Box( 5 )] << delete;
Report( VC )[NomAxisBox( 4 )] << delete;

// Sample 3, Since there is only 1 value for the Group 1 column,
// and the title of the chart will come from the Y Column, not
// the X Column, then just leave Group 1 out of the definition
// of the chart
Variability Chart(
	Y( :Name( "ISO_NW-N+" ) ),
	X( :DR, :Lot_Des, :wafer ),
	Max Iter( 100 ),
	Conv Limit( 0.00000001 ),
	Number Integration Abscissas( 128 ),
	Number Function Evals( 65536 ),
	Analysis Type( "Choose best analysis (EMS REML Bayesian)" ),
	Std Dev Chart( 0 )
);


Jim
Pushpendra
Level I

Re: How to edit X-axis Group name in variability chart using script

Thank you so much. 

It is working fine.