2 変量プロットを生成する場合 (たとえば) - テキスト ボックスのサイズは、内側の書き込みのために狭くなります。
スクリプトを実行した後、テキスト ボックスを CTRL 右クリックして [テキストの折り返し] を選択し、必要なサイズを選択する必要があります。
デフォルトでサイズを選択する方法はありますか?またはスクリプトに追加して、目的の折り返しテキスト サイズでプロットを生成する方法はありますか?
例えば:
テキストボックスの結果

欲しいテキスト ボックスの結果

Y、Xを使用しているJSLコードは、数値データであれば何でもかまいません。 Hose_1、House_2 などの公称の凡例 (参照線は重要ではありません)
Bivariate(
Y( :Y_column ),
X( :X_column),
by(),
Automatic Recalc( 1 ),
Group By(:Some_column),
Fit Spline( 0.1, Standardized,{REPORT(0)} ),
SendToReport(
Dispatch({},"1",ScaleBox,{Format( "m/d/y", 10 ), Interval( "Day" ), Inc( 4 ), Minor Ticks( 1 ),Rotated Labels( "Vertical" )}),
Dispatch({},"2",ScaleBox,{Add Ref Line( eval(Some_Line_set_in_global), "DashDotDot", "Black", "UCL", 2 ),Add Ref Line( eval(Some_Line_set_in_global), "DashDotDot", "Black", "LCL", 2 )}),
Dispatch({},"3",ScaleBox,{Rotated Labels( "Vertical" )}),
Dispatch({},"Bivar Plot",FrameBox,{Marker Size( 1 ), Marker Selection Mode( "Unselected Faded" ),{Frame Size( 390, 270 ), Marker Size( MSB ), Line Width Scale( 1 )},
Row Legend(:Some_column,Color( 1 ),Color Theme( "JMP Default" ),Marker( 0 ), Marker Theme( "" ),Continuous Scale( 0 ),Reverse Scale( 0 ),Excluded Rows( 0 ))}
)
)
);これ
こんにちは。以下の手順で実行できます。JMPの「表示ツリー」の操作方法と、便利なxPath()コマンドについて読んでみてください。
ここで必要なのは、次の 2 つの質問に答えることです。
1) テキストはどのような構造になっているか、そして
2) これらの構造に便利にアクセスする最善の方法(可能であれば、一度にアクセスする)
1) の場合、「<< ツリー構造を表示」というメッセージは役に立ちます。また、2) の場合、xPath ( ) が役に立つことがよくあります。
以下のスクリプトを実行してください。<< show treestructure メッセージの後に stop() を挿入しています。ツリー構造を確認すると、変更したいテキストがレポート内の PictureBox(2) の下位にある TextEditBox 構造体のそれぞれに存在することがわかります。

これを踏まえて、残りのスクリプトは私と同じように作成してください。最終的なスクリプトでは、もちろん、 rep << show treestructure と stop() ; の行は省略してください。
Names Default To Here(1);
dt = astable((1::20)` || ((3::60::3)` + J(20,1,randomnormal())), <
<COLUMN names=""></COLUMN> Fit Where(
:groupgroupgroupgroupgroupgroup == "d",
Fit Spline( 0.1, {Line Color( {66, 112, 221} )} )
)
);
rep = report(biv);
rep << show tree structutre;
stop ();
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Use the tree structure to notice where the smoothing fit descriptions lie.
// They are in the 2nd picturebox of the report.
//get the picture box holding the spline fit descriptions
picBox = report(biv)[picturebox(2)];
// set the width of the textEditBoxes within the picture box, all at once, using xPath
// width is in pixels... use something you know will be well long enough.
( picBox << xPath("//TextEditBox") ) << set wrap width ( 1000 );
乾杯、
ブレイディ
私はJMP14を使用していますが、コマンド「set wrap width ( 1000 )」を「set wrap ( 1000 )」に変更すると動作しました。
素晴らしい働き
ありがとう
飲む
あなたが私に与えたスクリプトは、単一のレポートにはうまく機能しますが、有効期限をバイバリアントとしてレポートページを使用する場合は次のようになります。
変数は Bivariant の Expr を取得します - 後でレポート ウィンドウで使用します。
添付のJSLをご覧ください
うまくいきません
Names Default To Here(1);
dt = astable((1::20)` || ((3::60::3)` + J(20,1,randomnormal())), <<COLUMN names=""></COLUMN>