Here are a couple of ways you can get what you want. The first one can use any of the JMP platform graphics and just strip off the graphical portion and paste it into a new window. The second example creates a new graph from scratch, using the JSL graphics primatives
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/big class.jmp" );
// Create a Graph Builder that does not have a red triangle
gb = dt << Graph Builder(
invisible,
Size( 528, 456 ),
Show Control Panel( 0 ),
Variables( X( :weight ), Y( :height ) ),
Elements( Points( X, Y, Legend( 6 ) ) )
);
nw = New Window( "Graphs", <<journal, ob = Outline Box("My Graph") );
ob << append( Report( gb )[Picture Box( 1 )] );
Report( gb ) << delete window;
// Create a graph using the JSL graphic primatives
New Window( "Example",
Graph Box(
Y Scale( 50, 75 ),
X Scale( 50, 180 ),
Marker(
Marker State( 0 ),
dt:weight << get values,
dt:height << get values
);
)
);
Jim