cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

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

How do I get unlinked X-axes (separate min and max values) in GraphBuilder?

Hi

I would like to have separate values (min and max) on the x-axis for F and M (BigClass example), so for example F goes from 60-140 while M goes from 70-160. Is this possible? or could there be some other way around it?

NRE_DK_0-1641288793136.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: How do I get unlinked X-axes (separate min and max values) in GraphBuilder?

Not sure if you do it with Page, but you could use some scripting for example with By parameter:

New window("",
	Lineup Box(N Col(2),
		Graph Builder(
			Variables(X(:height), Y(:weight)),
			Elements(Points(X, Y, Legend(1)), Smoother(X, Y, Legend(2))),
			By(:sex)
		)
	)
);

jthi_0-1641311676386.png

Do note that these are two separate graph builders

 

-Jarmo

View solution in original post

4 REPLIES 4
jthi
Super User

Re: How do I get unlinked X-axes (separate min and max values) in GraphBuilder?

One option could be to use grouping column in Page instead of Group X:

jthi_0-1641290817377.png

 

-Jarmo
NRE_DK
Level I

Re: How do I get unlinked X-axes (separate min and max values) in GraphBuilder?

Hi jthi

Thank you for your fast reply. Yes using "Page" could be a solution, but will it be possible to arrange the graphs horizontally instead of vertically?

jthi
Super User

Re: How do I get unlinked X-axes (separate min and max values) in GraphBuilder?

Not sure if you do it with Page, but you could use some scripting for example with By parameter:

New window("",
	Lineup Box(N Col(2),
		Graph Builder(
			Variables(X(:height), Y(:weight)),
			Elements(Points(X, Y, Legend(1)), Smoother(X, Y, Legend(2))),
			By(:sex)
		)
	)
);

jthi_0-1641311676386.png

Do note that these are two separate graph builders

 

-Jarmo
NRE_DK
Level I

Re: How do I get unlinked X-axes (separate min and max values) in GraphBuilder?

Thank you very much - this is highly appreciated. Even though they are two separate graphs, it sure does the job!

Recommended Articles