cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JMP is taking Discovery online, April 16 and 18. Register today and join us for interactive sessions featuring popular presentation topics, networking, and discussions with the experts.
Choose Language Hide Translation Bar
tom_abramov
Level V

Several charts in Graph Builder with independent axis

Hello,

I would like to do a "By" action in Graph Builder like in all other platforms.

What I see is only "Page" option but it makes all X Axis the same.

See attached a screenshot.

In this example I would like each chart will have its own categories without categories with no data.

 

Please help.

Thank you.

 

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
txnelson
Super User

Re: Several charts in Graph Builder with independent axis

All you have to do is to add the By clause into the JSL code

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\semiconductor capability.jmp" );
Graph Builder(
	Variables( X( :PNP1 ), Y( :NPN1 ) ),
	Elements( Points( X, Y, Legend( 3 ) ), Smoother( X, Y, Legend( 4 ) ) ),
	by( :site )
);
Jim

View solution in original post

Re: Several charts in Graph Builder with independent axis

Hi Tom,

When you first open graph builder, there should be a button called Dialog. Use this button to get a dialog interface to Graph Builder which will have the By option you are looking for.

Chris Kirchberg
Chris Kirchberg, M.S.2
Data Scientist, Life Sciences - Global Technical Enablement
JMP Statistical Discovery, LLC. - Denver, CO
Tel: +1-919-531-9927 ▪ Mobile: +1-303-378-7419 ▪ E-mail: chris.kirchberg@jmp.com
www.jmp.com

View solution in original post

3 REPLIES 3
txnelson
Super User

Re: Several charts in Graph Builder with independent axis

All you have to do is to add the By clause into the JSL code

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\semiconductor capability.jmp" );
Graph Builder(
	Variables( X( :PNP1 ), Y( :NPN1 ) ),
	Elements( Points( X, Y, Legend( 3 ) ), Smoother( X, Y, Legend( 4 ) ) ),
	by( :site )
);
Jim

Re: Several charts in Graph Builder with independent axis

Hi Tom,

When you first open graph builder, there should be a button called Dialog. Use this button to get a dialog interface to Graph Builder which will have the By option you are looking for.

Chris Kirchberg
Chris Kirchberg, M.S.2
Data Scientist, Life Sciences - Global Technical Enablement
JMP Statistical Discovery, LLC. - Denver, CO
Tel: +1-919-531-9927 ▪ Mobile: +1-303-378-7419 ▪ E-mail: chris.kirchberg@jmp.com
www.jmp.com
tom_abramov
Level V

Re: Several charts in Graph Builder with independent axis

Thank you!