Hello,
I am trying to create a GraphBuilder plot, with a "Flag" column being used in the "Color" section as show below
![Kenobi_0-1690487017131.png Kenobi_0-1690487017131.png](https://community.jmp.com/t5/image/serverpage/image-id/55319i6F6D451A415BB392/image-size/medium?v=v2&px=400)
I want my script to autoexclude a particular category, lets say "PASS" in this case. I am not sure on how to do that. Any suggestions would be very helpful
![Kenobi_1-1690487054143.png Kenobi_1-1690487054143.png](https://community.jmp.com/t5/image/serverpage/image-id/55320i5EA95ACBF0DE8230/image-size/medium?v=v2&px=400)
Thank you.
For(i = 1, i <= N Items(y_cols), i++,
y_name = Char(y_cols[i]);
x_name = Char(x_col[1]);
gb = dt << Graph Builder(
Size(700, 350),
Show Control Panel(0),
Show Footer(0),
Variables(X(x_col[1]), Y(y_cols[i]), Color( :Flag )),
Elements(Points(X, Y, Legend(24))),
invisible,
SendToReport(
Dispatch(
{},
"Graph Builder",
OutlineBox,
{Set Title( y_name || " vs " || x_name ), Image Export Display( Normal )}
),
Dispatch(
{},
"Graph Builder",
FrameBox,
{Marker Size( 5 ), Transparency(1)}
),
Dispatch(
{},
"graph title",
TextEditBox,
{Set Text( "" )}
),
Dispatch(
{},
"X title",
TextEditBox,
{Set Text( "" )}
)
)
);
gb << Show Legend(1);
myVLB << append( Report( gb ) );
gb << delete;
);