Re: コンボ ボックスを使用して凡例の特定の列をスキップするにはどうすればよいですか?サンプル スクリプトの最後に ) がありません。 また、挿入メニューの タグを使用してコードを貼り付けてください。 これは次のようになります。
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Animals.jmp", invisible);;
legend_list = {"subject","season"};
gb_default = Expr(
Graph Builder(
Size( 544, 356 ),
Show Control Panel( 0 ),
Legend Position( "Bottom" ),
Fit to Window( "Off" ),
Variables( X( :species ), Y( :miles ), Color( :subject ) ),
Elements( Points( X, Y, Legend( 14 ) ) ),
SendToReport( Dispatch( {}, "400", LegendBox, {Orientation( "Horizontal" ), Sides( "Left" )} ) )
)
);
gb_change = Expr(
Graph Builder(
Size( 544, 356 ),
Show Control Panel( 0 ),
Legend Position( "Bottom" ),
Fit to Window( "Off" ),
Variables( X( :species ), Y( :miles ), Color( Column( dt, ycol ) ) ),
Elements( Points( X, Y, Legend( 14 ) ) ),
SendToReport( Dispatch( {}, "400", LegendBox, {Orientation( "Horizontal" ), Sides( "Left" )} ) )
)
);
nw = New Window( "Animals Monitoring ",
gb = gb_default;
lbcontent = Lineup Box( N Col( 10 ),
Spacer Box( Size( 1, 0 ) ),
Text Box( "Color: ", <<SET font="" size=""></SET>私が知る限り、あなたのコードは機能します...では、あなたの質問は正確には何ですか?

Re: コンボ ボックスを使用して凡例の特定の列をスキップするにはどうすればよいですか?カラムスイッチャーを使ってみてはどうですか?
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Animals.jmp", invisible);;
legend_list = {"subject","season"};
Graph Builder(
Size( 544, 356 ),
Show Control Panel( 0 ),
Legend Position( "Bottom" ),
Fit to Window( "Off" ),
Variables( X( :species ), Y( :miles ), Color( :subject ) ),
Elements( Points( X, Y, Legend( 14 ) ) ),
Column Switcher( :subject, legend_list )
);コンボ ボックスを使用して凡例の特定の列をスキップするにはどうすればよいですか?やあ、
コンボ ボックスに特定の列のみを凡例として表示しようとしていますが、現在のコードでは列を 1 つずつ取得しています。 特定の列をスキップする方法はありますか?
たとえば、この場合、凡例リストには :subject & :season のみが必要です。 これが私のコードです:
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Animals.jmp", invisible );
legend_list = {"subject", "season"};
gb_default = Expr(
Graph Builder(
Size( 544, 356 ),
Show Control Panel( 0 ),
Legend Position( "Bottom" ),
Fit to Window( "Off" ),
Variables( X( :species ), Y( :miles ), Color( :subject ) ),
Elements( Points( X, Y, Legend( 14 ) ) ),
SendToReport( Dispatch( {}, "400", LegendBox, {Orientation( "Horizontal" ), Sides( "Left" )} ) )
)
);
gb_change = Expr(
Graph Builder(
Size( 544, 356 ),
Show Control Panel( 0 ),
Legend Position( "Bottom" ),
Fit to Window( "Off" ),
Variables( X( :species ), Y( :miles ), Color( Column( dt, ycol ) ) ),
Elements( Points( X, Y, Legend( 14 ) ) ),
SendToReport( Dispatch( {}, "400", LegendBox, {Orientation( "Horizontal" ), Sides( "Left" )} ) )
)
);
nw = New Window( "Animals Monitoring ",
gb = gb_default;
lbcontent = Lineup Box( N Col( 10 ),
Spacer Box( Size( 1, 0 ) ),
Text Box( "Color: ", <<SET font="" size=""></SET>
事前にご協力いただきありがとうございます。
グラフィックスクリプティングウィンドウズRe: コンボ ボックスを使用して凡例の特定の列をスキップするにはどうすればよいですか?2 つの列スイッチャーは、私にはかなり良さそうです。
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Animals.jmp", invisible);;
legend_list = {"subject","season"};
Graph Builder(
Size( 544, 356 ),
Show Control Panel( 0 ),
Legend Position( "Bottom" ),
Fit to Window( "Off" ),
Variables( X( :species ), Y( :miles ), Color( :subject ) ),
Elements( Points( X, Y, Legend( 14 ) ) ),
Column Switcher( :subject, legend_list, Title( "Column Switcher Legend" ) ),
Column Switcher( :species, {:species, :season}, Title( "Column Switcher X" ) )
);この例では、同じ変数 Season を使用しているため衝突が発生しますが、エラー メッセージで適切に処理され、実際のデータセットでは発生しない可能性があります。

Re: コンボ ボックスを使用して凡例の特定の列をスキップするにはどうすればよいですか?こんにちはポールディーン、ご意見ありがとうございます。
私のコードは機能していますが、コンボ ボックスでシーズンをクリックしても、凡例は変更されません。
私が今持っている2つのコンボオプション -
種をクリック - 種を凡例として表示します
季節をクリック - 凡例として件名を表示します
一方、種をクリックすると、種が凡例として表示され、季節も同じように表示されます。 それが明確になることを願っています。 ありがとう!

Re: コンボ ボックスを使用して凡例の特定の列をスキップするにはどうすればよいですか?列スイッチャーを使用してみたことを言及する必要がありましたが、ツールに別のコンボ ボックスも含めます。
1 つのコンボ ボックス - x 軸の変更用
1 つのコンボ ボックス - 凡例/色の変更用
列スイッチャーは、それが繰り返されるため、うまく機能していません。
