Bubble Plot은 디스플레이에 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_"
)
)}
)}
)
)
);