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)

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