- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Box size of Graph builder plot
Is there a way I can specify box size for a graph builder plot? See highlighted image below. Box size does not include the axis label sizes. I want to make multiple plots with same box size. Frame size considers the size of the whole frame and not the box.
5 REPLIES 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Box size of Graph builder plot
If you hover the cursor over the edge of the plot boundary, the cursor will change to a double-sided arrow and you can the rescale the plot how you like with the mouse. The change will apply to all the other plots in that Graph Builder visual.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Box size of Graph builder plot
I would like to explicitly specify the size of the box in the script. So I can produce plots with consistent box sizes all the time (not necessarily at the time when I have plots open). Is there something similar to 'Frame size' which is meant for box size?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Box size of Graph builder plot
The Size(x,y) option will allow you to set the size of the whole plot and the number of subplots will automatically scale to fill in that space.
Graph Builder(
Size( x, y ),
Show Control Panel( 0 ),
Variables( X( :X ), Y( :Y ), Group X( :Group ) ),
Elements( Points( X, Y, Legend( 15 ) ), Smoother( X, Y, Legend( 16 ) ) )
);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Box size of Graph builder plot
How do I resize an existing graph with this script?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Box size of Graph builder plot
One can easily change the size of the graph's frame box. This example creates a simple graph using Graph Builder, Then, after the graph has been created, the JSL
current report()[framebox(1)]<<frame size(600,600);
is run to change the size of the graph.
Full Example:
names default to here(1);
// Open Data Table: big class.jmp
// → Data Table( "big class" )
Open( "$SAMPLE_DATA/big class.jmp" );
Graph Builder(
Size( 525, 454 ),
Show Control Panel( 0 ),
Variables( X( :weight ), Y( :height ) ),
Elements( Points( X, Y, Legend( 3 ) ), Smoother( X, Y, Legend( 4 ) ) )
);
wait(5);
// Change the graph size
current report()[framebox(1)]<<frame size(600,600);
Jim