cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • DownloadSemiconductor Toolkit: Tools to create wafer maps, add wafer geometry to graphics, explore die defects & compare wafers.
  • Discovery Summit 2026: Early User Edition - September 23-24.Register. It's free.
  • See how to design an experiment, explore factor-response relationships, assess tradeoffs, and ID best settings. Register for Sep. 11 Mastering JMP.

Discussions

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

y scaling in graph box problem

Dear community,

I want to generate many custom graphs (for each line in a table with > 20K rows) and decided to do with a graph box.

But when I generate it, it fails to recognize the y scaling (maximum is 9e6 and noch 100).

What is going wrong here?

Thanks and BR

(inspired by Solved: Changing the scales of a graph box - JMP User Community)

Georg_0-1768238425090.png

 

Names Default To Here( 1 );

x_vec = [-3, -2, -1, -0.5, 0, 0.5, 1, 2, 3];
y_vec = 1e6 * E Mult( x_vec, x_vec );

show(Min( y_vec ), Max( y_vec ));
// Min(y_vec) = 0;
// Max(y_vec) = 9000000;

nw = New Window( "test",
	Outline Box( "outline",
		gb = Graph Box(
			Frame Size( 300, 200 ),
			xname( "radius" ),
			yname( "density" ),
			X Scale( Min( x_vec ), Max( x_vec ) ),
			Y Scale( Min( y_vec ), Max( y_vec ) );
			Pen Color( "Blue" );,
			Pen Size( 5 ),
			Line( x_vec, y_vec )
		)
	)
);

(gb << getyaxis())["Max"];
// 100
Georg
1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: y scaling in graph box problem

I think if you just change ";" after Y Scale to "," it should work. 

-Jarmo

View solution in original post

2 REPLIES 2
jthi
Super User

Re: y scaling in graph box problem

I think if you just change ";" after Y Scale to "," it should work. 

-Jarmo
hogi
Level XIII

Re: y scaling in graph box problem

wow, good catch!

So, named props of the Graph box have to be separated by commas, the expressions inside the script of the graph can be separated by commas or semicolons.

hogi_0-1768242383872.png

 

Recommended Articles