该帮助的版本不再更新,请参见https://www.jmp.com/support/help/zh-cn/15.2 获取最新的版本.


图 12.29 Unclipped (Left) and Clipped (Right) Boundaries
Send the Clip Shape message to the Contour Seg object to clip the display segs.
Open( "$SAMPLE_DATA/Cities.jmp" );
gb = Graph Builder(
Size( 653, 396 ),
Elements( Contour( X, Y, Legend( 2 ) ) ),
"Graph Builder",
{Background Map( Boundaries( "US States" ) ), Grid Line Order( 2 ), Reference Line Order( 3 )}
cs = (gb << Report)[FrameBox( 1 )] << Find Seg( Contour Seg( 1 ) );
Wait( 2 );
cs << Clip Shape( Boundaries( "US States" ) );
提示:Clip Shape(Empty()) removes the clipping path.
Open( "$SAMPLE_DATA/Big Class.jmp" );
gb = Graph Builder(
Elements( Contour( X, Y, Legend( 3 ) ) )
r = (gb << Report);
cs = r[FrameBox( 1 )] << Find Seg( Contour Seg( 1 ) );
cs << Clip Shape( Path( [60 80 1, 50 140 2, 65 120 2, 70 65 -2] ) );
图 12.30 Unclipped (Left) and Clipped (Right) Contours