2D プロットの断面図JMP で 1D 折れ線グラフの垂直方向などに沿って 2D プロットの変動をプロットするにはどうすればよいですか?
私は Matlab から来ています (MATLAB で同等のものは次のようなものです)これ)
ありがとう、
高度な統計モデリング自動化とスクリプト作成消費者および市場調査データアクセスRe: 2D プロットの断面図ソリューションは現在、次の方法で利用できます。グラフビルダーツールバー

Re: 2D プロットの断面図はぁ!@ih私をそれに打ち負かしました。 私も同様の例を始めましたが、その後 3 時間会議に参加していました。
Names Default to Here( 1 );
dt = New Table( "Slicing",
Add Rows( 2 ),
New Column( "X",
Numeric,
"Continuous",
Format( "Best", 12 ),
Set Values( [-1, 1] )
),
New Column( "Y",
Numeric,
"Continuous",
Format( "Best", 12 ),
Set Values( [-1, 1] )
),
New Column( "Z",
Numeric,
"Continuous",
Format( "Best", 12 ),
Formula(
100 + 25 * :X - 3 * :X ^ 2 - 15 * :Y - 5 * :Y ^ 2 - 7 * :X * :Y
)
)
);
dt << Surface Plot(
Columns( :Z ),
Surface Color Theme( "Green to Black to Red" ),
Surface Color Theme2( "Green to White to Red" ),
Surface Color Theme3( "White to Black" ),
Surface Color Theme4( "Blue to Gray to Red" ),
Response Column Color Theme( "Blue to Green to Red" ),
Response Column Color Theme2( "Spectral" ),
Response Column Color Theme3( "Jet" ),
Response Column Color Theme4( "White to Blue" ),
Formula( "Z" ),
Surface Color Method( "Solid", "Solid", "Solid", "Solid" ),
SetVariableAxis( :X, Axis Data( {} ) ),
SetVariableAxis( :Y, Axis Data( {} ) ),
SetZAxis( :Z, Current Value( 95 ), Axis Data( {} ) ),
SetXVariable( :X ),
SetYVariable( :Y ),
Iso Value( 0, 75 ),
Frame3D( Set Rotation( -54, 0, 38 ) )
);
dt << Profiler(
Y( :Z ),
Profiler(
1,
Term Value( X( 0, Lock( 0 ), Show( 1 ) ), Y( 0, Lock( 0 ), Show( 1 ) ) )
),
SendToReport(
Dispatch(
{"Prediction Profiler"},
"10000",
ScaleBox,
{Min( 72.5 ), Max( 125.754437869822 ), Inc( 10 ), Minor Ticks( 0 )}
)
)
);Re: 2D プロットの断面図これまでに作成したサンプル データとスクリプトを投稿していただけますか?
Re: 2D プロットの断面図また、等高線プロット (グラフ ビルダーではなく、等高線プラットフォームを使用します) では、グリッド データを保存できます。 垂直または水平のスライスが必要である限り、それはグリッド化されたデータの行または列である必要があります。
dt = Open( "$sample_data/big class.jmp" );
// step 1: use the contour plot to get a grid of the data
cp = dt << Contour Plot(
X( :height, :weight ),
Y( :age ),
Show Data Points( 0 ),
Fill Areas( 0 ),
Label Contours( 0 ),
Transform( "Range Normalized" ),
Specify Contours( Min( 13 ), Max( 16.5 ), N( 8 ) )
);
nres = 100; // make this bigger if you think there is meaningful data there
dtGrid = cp << generate grid( nres, nres );
cp<<CLOSEWINDOW></CLOSEWINDOW>
// step 2: make the cross section
dtGrid:height<<SETMODELINGTYPE></SETMODELINGTYPE>
Drive the height selector with up and down arrows.高さセレクターを上下の矢印で操作します。
編集: グリッド データはデータ ポイントのエンベロープを超えて外挿されます。 断面の端はおそらく推定範囲のはるか内側に入っています。 おそらく、高さ = 61.5 (など) で等高線プロット (閉じた状態、上側、おそらく開いたままにする) を照合して、体重の有効な範囲がどの程度になるかを確認する必要があるでしょう。 それでも、等高線プロットは、データ ポイントによって形成される三角形全体にわたって線形補間を実行します。 Big Class は特に滑らかでも高密度でもないため、データ ポイントのエンベロープの内側であっても、細部の誤った感覚を生成する奇妙なアーティファクトが多数見られます。
Re: 2D プロットの断面図ありがとう。 私の 2D プロットは Xdata、Ydata、および Data に基づいています。
データ フィルターで表示される内容は有望に見えますが、1 つの Xdata 値 (すべての Ydata 値) でスライスをプロットすることはできないようです。
私はこの面を見続けますが、どの方向からでも非常に役立ちます。
(私はJMP13を使用しています)
Re: 2D プロットの断面図2D プロットが点または数式に基づいているかどうかはわかりません。 ポイントの場合は、グラフ ビルダーを使用して、データ フィルターを使用してグラフ内の 1 つの軸に対してターゲット値をプロットし、もう 1 つの軸の「スライス」を定義できます。

列の式を検討している場合は、次のことに同意します@Mark_Baileyプロファイラーが最も簡単なアプローチであるということです。 一方の値の値を変更するだけで、もう一方の値のプロットが表示されます。

以下は両方のスクリプトです。
Names default to here(1);
dt = Open("$Sample_data/iris.jmp");
New Column("H1_1", Numeric, "Continuous", Format("Best", 12), Set Property("Notes", "Model NTanH(3)"), Formula(TanH(0.5 * ((-3.50407799736543) + -1.69201212624413 * :Sepal length + 4.45798369366822 * :Sepal width))), Set Property("Intermediate", 1));
New Column("H1_2", Numeric, "Continuous", Format("Best", 12), Set Property("Notes", "Model NTanH(3)"), Formula(TanH(0.5 * ((-4.34695576142641) + 0.578814453314083 * :Sepal length + -0.387699136913814 * :Sepal width))), Set Property("Intermediate", 1));
New Column("H1_3", Numeric, "Continuous", Format("Best", 12), Set Property("Notes", "Model NTanH(3)"), Formula(TanH(0.5 * ((-14.9199578715582) + 8.0363609653296 * :Sepal length + -9.32672254743267 * :Sepal width))), Set Property("Intermediate", 1));
New Column("Predicted Petal length", Numeric, "Continuous", Format("Best", 12), Set Property("Notes", "Model NTanH(3)"), Formula(9.72824082889675 + 0.825393378043811 * :H1_1 + 8.38378988028562 * :H1_2 + 1.62929374850912 * :H1_3), Set Property("Predicting", {:Petal length, Creator("Neural")}));
New Window("Plotting points",
H List Box(
Graph Builder(
Size( 522, 456 ),
Show Control Panel( 0 ),
Variables( X( :Sepal length ), Y( :Petal length ) ),
Elements( Points( X, Y, Legend( 295 ) ), Line( X, Y, Legend( 297 ) ) ),
Local Data Filter(
Add Filter(
columns( :Sepal width ),
Where( :Sepal width >= 2.9 & :Sepal width <= 3.1 )
)
)
),
Contour Plot(
X( :Sepal width, :Sepal length ),
Y( :Petal length ),
Show Data Points( 0 ),
Fill Areas( 0 ),
Label Contours( 0 ),
Transform( "Range Normalized" ),
Specify Contours( Min( 2 ), Max( 6 ), N( 5 ) ),
SendToReport(
Dispatch(
{},
"1",
ScaleBox,
{Add Ref Line(
{2.9, 3.1},
"Solid",
"Medium Dark Magenta",
"Slice",
1,
0.25
)}
)
)
)
)
);
//Profiler
Profiler(
Y( :Predicted Petal length ),
Profiler(
1,
Term Value(
Sepal length( 6.302, Lock( 0 ), Show( 1 ) ),
Sepal width( 3.125, Lock( 0 ), Show( 1 ) )
)
),
Expand,
SendToReport(
Dispatch(
{"Prediction Profiler"},
"Profiler",
FrameBox,
{Frame Size( 320, 260 )}
),
Dispatch(
{"Prediction Profiler"},
"Profiler",
FrameBox( 3 ),
{Frame Size( 320, 260 )}
)
)
);
更新: スクリプトに予測列の列式を追加しました。
Re: 2D プロットの断面図ありがとう。プロファイラー オプションは便利そうですが、オプションはたくさんあります。 私はそれを徹底的に調べます。
私が探していたのは、スクリプトベースのアプローチです。
2D プロットの場合、x スライス (指定された y 値の場合) または y スライス (指定された x 値の場合) を取得する方法。 現時点で私がやりたいことはこれだけです。Re: 2D プロットの断面図については、JMP ヘルプの本を参照してください。プロファイラー。