- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
JMP 17 script graph size for report
Is there a way to set the frame size for graphs in jmp 17 script so that when the report is generated with multiple graphs the graphs are of a particular size. Ideally want to be able to customize each individual graph size
The script below used to work and set the size correctly in jmp 14 but it does not do the job in jmp 17
graphname = datatable << Overlay Plot(
X(:x),
Y(:y1, :y2, :y3),
Overlay Axis << {{Scale(Linear), Format("Best"), Min(-5000), Max(25000), Inc(-1000)}},
Connect Thru Missing(1),
Connect Points(1),
SendToReport(
Dispatch({}, "Overlay Plot", OutlineBox, Set Title("Age")),
Dispatch({}, "Overlay Plot", FrameBox, Frame Size(450, 450)),
Dispatch({}, "101", ScaleBox, {Rotated Labels("Angled")})
)
);
Edit 2024-07-24, jthi: added JSL styling
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: JMP 17 script graph size for report
Created:
Jul 23, 2024 11:56 PM
| Last Modified: Jul 23, 2024 9:45 PM
(487 views)
| Posted in reply to message from UpliftTiger788 07-23-2024
[edited]
actually, the command
current report()[framebox(1)]<<frame size(450,450);
should work. What's the issue?
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Overlay Plot(
X( :height ),
Y( :weight, :age ),
Overlay Axis << {{Scale( Linear ), Format( "Best" ), Min( -5000 ), Max( 25000 ), Inc( -1000 )}},
Connect Thru Missing( 1 ),
Connect Points( 1 ),
SendToReport(
Dispatch( {}, "Overlay Plot", FrameBox, Frame Size( 450, 450 ) )
)
);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: JMP 17 script graph size for report
To customize each individual graph size, like here:
use
Relative Sizes( "X", [157 427] )