cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.
  • See how to access JMP Marketplace - and - find, create & share add-ins to extend your JMP. Watch video.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar

text in the filtre

Hi,
How can I add text to the filters to explain them better?

2 REPLIES 2
txnelson
Super User

Re: text in the filtre

Is this what you are looking for?

txnelson_0-1718282204115.png

Names Default To Here( 1 );
dt = 
// Open Data Table: Big Class.jmp
// → Data Table( "Big Class" )
Open( "$SAMPLE_DATA/Big Class.jmp" );

New Window( "Oneway Analysis",
	V List Box(
		Text Box( "    Please Click on the Age" ),
		Text Box( "    Value to Change the Analysis" ),
		Text Box( " " ),
		Oneway(
			Y( :height ),
			X( :sex ),
			Means( 1 ),
			Mean Diamonds( 1 ),
			Local Data Filter( Add Filter( columns( :age ), Display( :age, N Items( 6 ) ) ) )
		)
	)
);
Jim

Re: text in the filtre

I like Jim's suggestion, but here's another that might work. Change the title of the Local Data Filter. You can click on the title twice to enter edit mode, then type another title.

John_Powell_JMP_0-1718283835342.png

Using JSL, it would be:

Names Default To Here( 1 ); 
Open( "$SAMPLE_DATA/Big Class.jmp" ); 
Oneway( 
  Y( :height ),
  X( :sex ),
  Means( 1 ),
  Mean Diamonds( 1 ),
  Local Data Filter(
    Title( "Choose age(s) to display" ),
    Add Filter( columns( :age ), Display( :age, N Items( 6 ) ) )
  )
);

Recommended Articles