BookmarkSubscribeRSS Feed
Choose Language Hide Translation Bar

Scripting Question - Saving Bubble Plots as a Flash Object

Hi,

Is there a JSL command that would allow one to save a bubble plot as a swf file automatically. I'm aware of the SAVE command, however, there is no additional information on how to specifically save a flash object type.

Thanks,
0 Kudos
2 REPLIES 2
mattf
Community Trekker

Re: Scripting Question - Saving Bubble Plots as a Flash Object

dt = Open( "$SAMPLE_DATA/SATByYear.jmp" );

Bubble Plot(
X( :SAT Math ),
Y( :SAT Verbal ),
Sizes( :Name( "% Taking (2004)" ) ),
Time( :Year ),
ID( :Region, :State ),
All Labels( 1 ),
No Labels( 0 ),
Title Position( 490, 571 ),
SendToReport(
Dispatch(
{},
"1",
ScaleBox,
{Min( 490 ), Max( 580 ), Inc( 10 ), Minor Ticks( 0 )}
),
Dispatch( {}, "2", ScaleBox, {Min( 490 ), Max( 580 )} ),
Dispatch( {}, "Bubble Plot", FrameBox, {Frame Size( 550, 336 )} )
),
Save as SWF("c:\temp\bubble.swf")
);
0 Kudos

Re: Scripting Question - Saving Bubble Plots as a Flash Object

Thanks,
0 Kudos