グラフビルダーでグラフを標準化するあなたの速い返事をありがとう。 私の経験によると、JMPグラフをPower Pointなどで同様に表示するのは難しいです。
私はJSLの初心者です。そのため、タイトル、軸、グラフのサイズやフォーマット(長さ:幅、たとえば3:2)に関して、グラフビルダーから現在のグラフを標準化し、さまざまな問題を克服する簡単な解決策を望んでいましたパワーポイントなどに見えます
グラフビルダーでグラフを標準化する私が提供したものは与えられた例のために働くコードです。 それはあなたが望むことを成し遂げるためにあなたが使うことができるアプローチを示すことを意図しています。 ただし、Graph Builderから出力される可能性が非常に大きいため、テキストボックス()と軸ボックス()へのポインタは代替グラフではまったく異なる場合があります。 さまざまな出力を調べてから、必要なコードをスクリプトに移動する必要があります。
グラフビルダーでグラフを標準化する返事が遅れて申し訳ありません。私はアドインを作成するか、コードを実行しようとしました:
i = 1;
stop = "No";
While( Window( i ) << Get Window Title != {} & Stop == "No",
If( Word( 2, Window( i ) << Get Window Title, "-" ) == " Graph Builder",
stop = "Yes";
Break();
);
i++;
);
If( stop == "Yes",
// Set the size of the display
Window( i )[Frame Box( 1 )] << Frame Size( 100, 300 );
// Set the title size
Window( i )[Outline Box( 1 )][Text Box( 1 )] << set font size( 20 );
// Set axis font size
Window( i )[AxisBox( 2 )] << label row( set font size( 14 ) );
);グラフビルダーで開いているグラフを含む他のデータセットの場合。グラフに変更や影響は見られませんでした。私は何かが足りないのですか?
グラフビルダーでグラフを標準化するNames Default To Here( 1 );
Open( "$SAMPLE_DATA/Big Class.jmp" );
Graph Builder(
Size( 528, 484 ),
Show Control Panel( 0 ),
Variables( X( :sex ), Y( :height ), Group X( :age ) ),
Elements( Box Plot( X, Y, Legend( 1 ) ) )
);
// The code below could be put into an JMP Addin, and it would scan through all
// of the windows and when the first Graph Builder output window is found, it
// would set the standard settings
//
// The code could also be changed to display a list of all of the Graph Builder windows found
// and the user could then select the one(s) to set
//
// There are other issues, since the Graph Builder can produce a multitude of
// outputs. The setting of the graph area size, will vary based upon the
// elements within the output display.
i = 1;
stop = "No";
While( Window( i ) << Get Window Title != {} & Stop == "No",
If( Word( 2, Window( i ) << Get Window Title, "-" ) == " Graph Builder",
stop = "Yes";
Break();
);
i++;
);
If( stop == "Yes",
// Set the size of the display
Window( i )[Frame Box( 1 )] << Frame Size( 100, 300 );
// Set the title size
Window( i )[Outline Box( 1 )][Text Box( 1 )] << set font size( 20 );
// Set axis font size
Window( i )[AxisBox( 2 )] << label row( set font size( 14 ) );
);グラフビルダーでグラフを標準化する返信ジムをありがとう。スクリプトは正しい方向を向いています。
一般的な方法はありますか?作成したグラフをグラフビルダーから標準グラフサイズ、標準タイトル、および軸サイズに変換するアドインなどを実行できますか。
グラフビルダーでグラフを標準化するこれを実行する方法の例を示す短いスクリプトは、次のとおりです。これに関するドキュメントは、『スクリプティングガイド』および「スクリプティングインデックス」にあります。
ヘルプ==>本==>スクリプトガイド
ヘルプ==>スクリプトインデックス
Names Default To Here( 1 );
Open( "$SAMPLE_DATA/Big Class.jmp" );
gb = Graph Builder(
Size( 528, 484 ),
Show Control Panel( 0 ),
Variables( X( :sex ), Y( :height ), Group X( :age ) ),
Elements( Box Plot( X, Y, Legend( 1 ) ) )
);
rgb = Report( gb );
// Set the size of the display
rgb[Frame Box( 1 )] << Frame Size( 100, 300 );
// Set the title size
rgb[Outline Box( 1 )][Text Box( 1 )] << set font size( 20 );
// Set axis font size
rgb[AxisBox( 2 )] << label row( set font size( 14 ) );
Re:グラフビルダーでグラフを標準化するこれは非常に必要です! スクリプトは面倒なので役に立ちません。 常にウィンドウの周りをドラッグすることに戻らずに、同じ寸法の複数のグラフを作成する簡単な方法が必要です
Re:グラフビルダーでグラフを標準化するグラフの作成後は機能しませんが、グラフビルダーの設定でグラフの高さと幅を指定できます。 これは、グラフビルダーによって作成されたすべてのグラフに適用されます。
グラフビルダーでグラフを標準化するグラフを作成した後、次の点に関してグラフビルダーからグラフを標準化することは可能ですか?
サイズ(たとえば、1200 x 900ピクセル)の軸設定(フォントサイズ)とタイトル(フォントサイズ)
JSLを適用することによって? これを達成する他の方法はありますか?
スクリプティング