气泡图使用FrameBox()进行显示,而FrameBox()支持<<添加图形脚本,因此您几乎可以做任何需要的事情。 下面是一个简单的脚本,该脚本是通过“自定义”功能添加脚本而生成的。
names default to here(1);
dt=open("$SAMPLE_DATA/Air Traffic.jmp");
Bubble Plot(
X( :Latitude ),
Y( :Longitude ),
Time( :Time ),
Time Index( 26.7000000000001 ),
Title Position( 35.75, -22.75 ),
SendToReport(
Dispatch(
{},
"1",
ScaleBox,
{Format( "Latitude DDD", "PUNDIR", 16, 0 ), Min( -2.5 ), Max( 72.5 ),
Inc( 5 ), Minor Ticks( 1 )}
),
Dispatch(
{},
"2",
ScaleBox,
{Format( "Longitude DDD", "PUNDIR", 16, 0 ), Min( -179.486111111111 ),
Max( 5.51388888888889 ), Inc( 10 ), Minor Ticks( 1 )}
),
Dispatch(
{},
"Bubble Plot",
FrameBox,
{Add Graphics Script(
4,
Description( "" ),
Text(
Center Justified,
{Col Mean( :latitude ), Col Mean( :Longitude )},
"_text_"
)
), DispatchSeg(
TopSeg( 1 ),
{Set Script(
Text(
Center Justified,
{Col Mean( :latitude ), Col Mean( :Longitude )},
"_text_"
)
)}
)}
)
)
);