プロット内のグラフィック スクリプトを削除する方法<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<Re: プロット内のグラフィック スクリプトを削除する方法
できます!。ありがとう、WK
Re: プロット内のグラフィック スクリプトを削除する方法はい、グラフィック スクリプトの削除は JMP 10 の新機能です。以前のリリースでは、グラフィックス スクリプトを含むユーザー定義関数を作成してから、関数を再初期化し、Reshow メッセージを FrameBox に送信して画面を更新することができました。次に例を示します。
dt = Open( "$SAMPLE_DATA\Big Class.jmp" );
_dist = Distribution(
Stack( 1 ),
Continuous Distribution(
Column( :height ),
Quantiles( 0 ),
Moments( 0 ),
Horizontal Layout( 1 ),
Vertical( 0 )
)
);
_rdist = _dist << Report;
_histframe = _rdist["height"][framebox( 2 )];
curve = Function( {}, // make a function holding the old drawing code
mu = 62.55;
sigma = 4.24;
Y Function( Sqrt( 2 * Pi() ) * Normal Density( (x - mu) / sigma ) * 0.095 + 0, x );
);
_histframe << Add Graphics Script(
Description( "NormalPDF" ),
curve() // call the function holding the old code
);
/* how do I remove the graphics script?*/
Wait( 2 ); //For demonstration purposes only
curve = Function( {}, {} );
_histframe << reshow;
Wait( 2 ); //For demonstration purposes only
// put the script back
curve = Function( {}, // make a function holding the old drawing code
mu = 62.55;
sigma = 4.24;
Y Function( Sqrt( 2 * Pi() ) * Normal Density( (x - mu) / sigma ) * 0.095 + 0, x );
);
_histframe << reshow;
それが役立つことを願っています!
Re: プロット内のグラフィック スクリプトを削除する方法私はJMP9を使用しています。
Re: プロット内のグラフィック スクリプトを削除する方法サンプル スクリプトは、JMP 10 (Mac) で動作します。 しかし、JMP 9.0.3 で試してみましたが、うまくいきません。つまり、最後の行は効果がありません。 remove graphics script() メッセージが新しいようです。
どのバージョンを使用していますか?
Re: プロット内のグラフィック スクリプトを削除する方法MS さん、こんにちは。
うまくいきません。
Re: プロット内のグラフィック スクリプトを削除する方法送信できます<< グラフィックスクリプトを削除(n)ここで、n はスクリプトの順序です (最後に追加されたスクリプトは n = 1 になると思います)。
例:
新しい=新しい窓( "例" 、
exx = 20 、
エクシー= 50 ;
グラフボックス(フレームサイズ( 200 、 200 ) 、丸( { 0 、 0 } 、平方根( exx * exx +エクシー*エクシー) ) ) ;
) ;
FB =新しい[フレームボックス( 1 )] ;
FB <<グラフィックスクリプトを追加(
ネズミ捕り(
exx =バツ;
エクシー= y ;
)
) ;
FB <<グラフィックスクリプトを削除( 1 ) ;