cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
%3CLINGO-SUB%20id%3D%22lingo-sub-675420%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EXpath%20%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%82%A6%E3%82%A3%E3%83%B3%E3%83%89%E3%82%A6%E3%81%8B%E3%82%89%E5%A4%96%E3%82%8C%E5%80%A4%E3%83%9C%E3%83%83%E3%82%AF%E3%82%B9%E3%82%92%E5%89%8A%E9%99%A4%E3%81%99%E3%82%8B%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-675420%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF%E3%80%81%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%E3%83%81%E3%82%A7%E3%83%83%E3%82%AF%E3%83%9C%E3%83%83%E3%82%AF%E3%82%B9%E3%81%AE%E3%83%81%E3%82%A7%E3%83%83%E3%82%AF%E3%82%92%E5%A4%96%E3%81%97%E3%81%A6%E3%80%8C%E5%A4%96%E3%82%8C%E5%80%A4%E3%82%92%E8%A1%A8%E5%8C%96%E3%80%8D%E3%83%9C%E3%83%83%E3%82%AF%E3%82%B9%E3%82%92%E5%89%8A%E9%99%A4%E3%81%97%E3%81%9F%E3%81%84%E3%81%A8%E8%80%83%E3%81%88%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%20Xpath%20%E3%82%92%E8%A9%A6%E3%81%97%E3%81%A6%E3%81%BF%E3%81%BE%E3%81%97%E3%81%9F%E3%81%8C%E3%80%81%E4%BD%95%E3%81%8B%E3%81%8C%E6%AD%A3%E3%81%97%E3%81%8F%E3%81%82%E3%82%8A%E3%81%BE%E3%81%9B%E3%82%93%E3%80%82%20%E3%81%AA%E3%81%AB%E3%81%8B%E6%8F%90%E6%A1%88%E3%82%92%EF%BC%9F%3C%2FP%3E%3CP%3E%E3%81%93%E3%82%8C%E3%81%8CJSL%E3%82%B3%E3%83%BC%E3%83%89%E3%81%A7%E3%81%99%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(%201%20)%3B%0A%0Adt%20%3D%20Open(%20%22%24SAMPLE_DATA%2FSemiconductor%20Capability.jmp%22%20)%3B%0A%0AList1%20%3D%20%7B%22NPN1%22%2C%20%22PNP1%22%2C%20%22PNP2%22%2C%20%22NPN2%22%2C%20%22PNP3%22%2C%20%22IVP1%22%7D%3B%0AList2%20%3D%20%7B%22PNP4%22%2C%20%22NPN3%22%2C%20%22IVP2%22%2C%20%22NPN4%22%2C%20%22SIT1%22%7D%3B%0AList3%20%3D%20%7B%22INM1%22%2C%20%22INM2%22%2C%20%22VPM1%22%2C%20%22VPM2%22%2C%20%22VPM3%22%7D%3B%0AList4%20%3D%20%7B%22SNM1%22%2C%20%22SPM1%22%2C%20%22NPN5%22%2C%20%22EP2%22%2C%20%22ZD6%22%7D%3B%0A%0Avar%20expr1%20%3D%20Expr(%20Variables()%20)%3B%0AFor(%20c%20%3D%201%2C%20c%20%26lt%3B%3D%20N%20Items(%20List1%20)%2C%20c%2B%2B%2C%0A%20x%20expr1%20%3D%20Expr(%0A%20%20X(%20Position(%201%20)%2C%20Combine(%20%22Parallel%20Merged%22%20)%20)%0A%20)%3B%0A%20Insert%20Into(%20x%20expr1%2C%20List1%5Bc%5D%2C%201%20)%3B%0A%20Insert%20Into(%20var%20expr1%2C%20Name%20Expr(%20x%20expr1%20)%20)%3B%0A)%3B%0A%0Avar%20expr2%20%3D%20Expr(%20Variables()%20)%3B%0AFor(%20c%20%3D%201%2C%20c%20%26lt%3B%3D%20N%20Items(%20List2%20)%2C%20c%2B%2B%2C%0A%20x%20expr2%20%3D%20Expr(%0A%20%20X(%20Position(%201%20)%2C%20Combine(%20%22Parallel%20Merged%22%20)%20)%0A%20)%3B%0A%20Insert%20Into(%20x%20expr2%2C%20List2%5Bc%5D%2C%201%20)%3B%0A%20Insert%20Into(%20var%20expr2%2C%20Name%20Expr(%20x%20expr2%20)%20)%3B%0A)%3B%0A%0Avar%20expr3%20%3D%20Expr(%20Variables()%20)%3B%0AFor(%20c%20%3D%201%2C%20c%20%26lt%3B%3D%20N%20Items(%20List3%20)%2C%20c%2B%2B%2C%0A%20x%20expr3%20%3D%20Expr(%0A%20%20X(%20Position(%201%20)%2C%20Combine(%20%22Parallel%20Merged%22%20)%20)%0A%20)%3B%0A%20Insert%20Into(%20x%20expr3%2C%20List3%5Bc%5D%2C%201%20)%3B%0A%20Insert%20Into(%20var%20expr3%2C%20Name%20Expr(%20x%20expr3%20)%20)%3B%0A)%3B%0A%0Avar%20expr4%20%3D%20Expr(%20Variables()%20)%3B%0AFor(%20c%20%3D%201%2C%20c%20%26lt%3B%3D%20N%20Items(%20List4%20)%2C%20c%2B%2B%2C%0A%20x%20expr4%20%3D%20Expr(%0A%20%20X(%20Position(%201%20)%2C%20Combine(%20%22Parallel%20Merged%22%20)%20)%0A%20)%3B%0A%20Insert%20Into(%20x%20expr4%2C%20List4%5Bc%5D%2C%201%20)%3B%0A%20Insert%20Into(%20var%20expr4%2C%20Name%20Expr(%20x%20expr4%20)%20)%3B%0A)%3B%0A%0A%0Alists%20%3D%20%7B%22List1%22%2C%20%22List2%22%2C%20%22List3%22%2C%20%22List4%22%7D%3B%0Avar%20%3D%20%7B%7D%3B%0Agbv%20%3D%20%7B%7D%3B%0A%0AFor(%20i%20%3D%201%2C%20i%20%26lt%3B%3D%204%2C%20i%2B%2B%2C%0A%20Insert%20Into(%20var%2C%20Name%20Expr(%20Eval(%20Parse(%20%22var%20expr%22%20%7C%7C%20Char(%20i%20)%20)%20)%20)%20)%3B%0A%20Insert%20Into(%20gbv%2C%20Parse(%20%22vvv%22%20%7C%7C%20Char(%20i%20)%20)%20)%3B%0A)%3B%0A%0Anw%20%3D%20New%20Window(%20%22Plots%22%2C%0A%20Show%20Menu(%200%20)%2C%0A%20show%20toolbars(%200%20)%2C%0A%20H%20List%20Box(%0A%0A%20%20Check%20Box(%0A%20%20%20%7B%22Summary%22%7D%2C%20%0A%20%20%20%20%20%20%0A%20%20%20%26lt%3B%3CSET%20function%3D%22%22%3E%200%2C%0A%20%20%20%20%20%20For(%20i%20%3D%201%2C%20i%20%26lt%3B%3D%20N%20Items(%20lists%20)%2C%20i%2B%2B%2C%0A%20%20%20%20%20%20%20If(%20N%20Items(%20Eval(%20Parse(%20lists%5Bi%5D%20)%20)%20)%20%26gt%3B%200%2C%0A%20%20%20%20%20%20%20%20nw%5Blists%5Bi%5D%2C%20Outline%20Box(%201%20)%5D%20%26lt%3B%26lt%3B%20append(%0A%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20V%20Scroll%20Box(%0A%20%20%20%20%20%20%20%20%20%20size(%20580%20)%2C%0A%20%20%20%20%20%20%20%20%20%20Border%20Box(%20Left(%205%20)%2C%20Right(%205%20)%2C%20Top(%205%20)%2C%20Bottom(%205%20)%2C%20Sides(%2015%20)%2C%0A%20%20%20%20%20%20%20%20%20%20%20Tabulate(%0A%20%20%20%20%20%20%20%20%20%20%20%20Show%20Control%20Panel(%200%20)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20Set%20Format(%20Uniform%20Format(%2010%2C%202%20)%20)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20Add%20Table(%0A%20%20%20%20%20%20%20%20%20%20%20%20%20Column%20Table(%20Statistics(%20Mean%2C%20Std%20Dev%20)%20)%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20Row%20Table(%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20Analysis%20Columns(%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20Eval(%20Parse(%20lists%5Bi%5D%20)%20)%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20)%0A%20%20%20%20%20%20%20%20%20%20%20%20%20)%0A%20%20%20%20%20%20%20%20%20%20%20%20)%2C%20%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20SendToReport(%0A%20%20%20%20%20%20%20%20%20%20%20%20%20Dispatch(%20%7B%7D%2C%20%22Tabulate%22%2C%20OutlineBox%2C%20%7BSet%20Title(%20%22Summary%20Stats%22%20)%7D%20)%0A%20%0A%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20)%0A%20%20%20%20%20%20%20%20%20%20%20)%0A%20%20%20%20%20%20%20%20%20%20)%0A%20%20%20%20%20%20%20%20%20)%0A%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20)%20%26lt%3B%26lt%3B%20Visibility(%20%22Visible%22%20)%3B%0A%20%20%20%0A%20%20%20%20%20%20%20)%0A%20%20%20%20%20%20)%3B%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%2C%0A%20%20%20%20%20%2F%2F%2F%20Xpath%20syntax%0A%0A%20nw%20%26lt%3B%26lt%3B%20XPath(%20%22%2F%2FOutlinebox%5B%40helpKey%20%3D%20'Summary%20Stats'%5D%22%20)%20%26lt%3B%26lt%3B%20delete%3B%0A%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20)%3B%0A%20%20%20%20)%3B%0A%20%20%20%20%20%20%0A%20%20%20)%0A%20%0A%20%0A%20%0A%20%20)%2C%0A%20%20V%20List%20Box(%20tb%20%3D%20Tab%20Box()%20)%0A%20)%0A)%3B%0A%0AFor(%20i%20%3D%201%2C%20i%20%26lt%3B%3D%20N%20Items(%20lists%20)%2C%20i%2B%2B%2C%0A%20tb%20%26lt%3B%26lt%3B%20Add(%0A%20%20lists%5Bi%5D%2C%0A%20%20V%20List%20Box(%0A%20%20%20H%20List%20Box(%0A%20%20%20%20Eval(%0A%20%20%20%20%20Eval%20Expr(%0A%20%20%20%20%20%20gb%20%3D%20dt%20%26lt%3B%26lt%3B%20Graph%20Builder(%0A%20%20%20%20%20%20%20Size(%201117%2C%20781%20)%2C%0A%20%20%20%20%20%20%20Show%20Control%20Panel(%200%20)%2C%20%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20%20Expr(%20Name%20Expr(%20var%5Bi%5D%20)%20)%2C%0A%20%20%20%20%20%20%20Elements(%0A%20%20%20%20%20%20%20%20Histogram(%0A%20%20%20%20%20%20%20%20%20X(%201%20)%2C%0A%20%20%20%20%20%20%20%20%20X(%202%20)%2C%0A%20%20%20%20%20%20%20%20%20X(%203%20)%2C%0A%20%20%20%20%20%20%20%20%20X(%204%20)%2C%0A%20%20%20%20%20%20%20%20%20X(%205%20)%2C%0A%20%20%20%20%20%20%20%20%20X(%206%20)%2C%0A%20%20%20%20%20%20%20%20%20X(%207%20)%2C%0A%20%20%20%20%20%20%20%20%20X(%208%20)%2C%0A%20%20%20%20%20%20%20%20%20X(%209%20)%2C%0A%20%20%20%20%20%20%20%20%20X(%2010%20)%2C%0A%20%20%20%20%20%20%20%20%20X(%2011%20)%2C%0A%20%20%20%20%20%20%20%20%20X(%2012%20)%2C%0A%20%20%20%20%20%20%20%20%20X(%2013%20)%2C%0A%20%20%20%20%20%20%20%20%20X(%2014%20)%2C%0A%20%20%20%20%20%20%20%20%20X(%2015%20)%2C%0A%20%20%20%20%20%20%20%20%20X(%2016%20)%2C%20%0A%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20Legend(%202%20)%2C%20%0A%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20)%2C%0A%20%20%20%20%20%20%20%20Box%20Plot(%0A%20%20%20%20%20%20%20%20%20X(%201%20)%2C%0A%20%20%20%20%20%20%20%20%20X(%202%20)%2C%0A%20%20%20%20%20%20%20%20%20X(%203%20)%2C%0A%20%20%20%20%20%20%20%20%20X(%204%20)%2C%0A%20%20%20%20%20%20%20%20%20X(%205%20)%2C%0A%20%20%20%20%20%20%20%20%20X(%206%20)%2C%0A%20%20%20%20%20%20%20%20%20X(%207%20)%2C%0A%20%20%20%20%20%20%20%20%20X(%208%20)%2C%0A%20%20%20%20%20%20%20%20%20X(%209%20)%2C%0A%20%20%20%20%20%20%20%20%20X(%2010%20)%2C%0A%20%20%20%20%20%20%20%20%20X(%2011%20)%2C%0A%20%20%20%20%20%20%20%20%20X(%2012%20)%2C%0A%20%20%20%20%20%20%20%20%20X(%2013%20)%2C%0A%20%20%20%20%20%20%20%20%20X(%2014%20)%2C%0A%20%20%20%20%20%20%20%20%20X(%2015%20)%2C%0A%20%20%20%20%20%20%20%20%20X(%2016%20)%2C%20%0A%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20Legend(%203%20)%2C%0A%20%20%20%20%20%20%20%20%20Outliers(%200%20)%0A%20%20%20%20%20%20%20%20)%0A%20%20%20%20%20%20%20)%0A%20%20%20%20%20%20)%0A%20%20%20%20%20)%0A%20%20%20%20)%2C%0A%20%20%20%20sumsta%20%3D%20Outline%20Box(%20%0A%20%20%20%20%20%0A%20%20%20%20%20lists%5Bi%5D%2C%0A%20%20%20%20%20%26lt%3B%3CVISIBILITY%3E%3C%2FVISIBILITY%3E%3C%2FSET%3E%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-675420%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CLINGO-LABEL%3E%E8%87%AA%E5%8B%95%E5%8C%96%E3%81%A8%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E4%BD%9C%E6%88%90%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-675450%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Xpath%20%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%82%A6%E3%82%A3%E3%83%B3%E3%83%89%E3%82%A6%E3%81%8B%E3%82%89%E5%A4%96%E3%82%8C%E5%80%A4%E3%83%9C%E3%83%83%E3%82%AF%E3%82%B9%E3%82%92%E5%89%8A%E9%99%A4%E3%81%99%E3%82%8B%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-675450%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E3%81%AE%E4%BB%A3%E3%82%8F%E3%82%8A%E3%81%AB%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Enw%20%26lt%3B%26lt%3B%20XPath(%20%22%2F%2FOutlinebox%5B%40helpKey%20%3D%20'Summary%20Stats'%5D%22%20)%20%26lt%3B%26lt%3B%20delete%3B%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%E3%81%97%E3%81%A6%E3%81%BF%E3%81%A6%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3E(nw%20%26lt%3B%26lt%3B%20XPath(%20%22%2F%2FOutlineBox%5Btext()%20%3D%20'Summary%20Stats'%5D%22%20))%20%26lt%3B%26lt%3B%20delete%3B%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E-%20%E3%83%96%E3%83%A9%E3%82%B1%E3%83%83%E3%83%88%E3%81%AF%E3%80%81%3CSTRONG%3E%E6%B6%88%E5%8E%BB%3C%2FSTRONG%3E%E3%83%A1%E3%83%83%E3%82%BB%E3%83%BC%E3%82%B8%E3%81%8C%E3%82%A2%E3%82%A6%E3%83%88%E3%83%A9%E3%82%A4%E3%83%B3%E3%83%9C%E3%83%83%E3%82%AF%E3%82%B9%E3%81%AB%E9%80%81%E4%BF%A1%E3%81%95%E3%82%8C%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%3CP%3E-%20%E3%82%A2%E3%82%A6%E3%83%88%E3%83%A9%E3%82%A4%E3%83%B3%E3%83%9C%E3%83%83%E3%82%AF%E3%82%B9%E3%81%AE%E4%BB%A3%E3%82%8F%E3%82%8A%E3%81%AB%E3%82%A2%E3%82%A6%E3%83%88%E3%83%A9%E3%82%A4%E3%83%B3%E3%83%9C%E3%83%83%E3%82%AF%E3%82%B9%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%BE%E3%81%99%20(Jmp%20%E3%81%A7%E5%A4%A7%E6%96%87%E5%AD%97%E3%81%A8%E5%B0%8F%E6%96%87%E5%AD%97%E3%81%8C%E5%8C%BA%E5%88%A5%E3%81%95%E3%82%8C%E3%82%8B%E6%95%B0%E5%B0%91%E3%81%AA%E3%81%84%E3%82%B1%E3%83%BC%E3%82%B9%E3%81%AE%201%20%E3%81%A4)%3C%2FP%3E%3CP%3E-%20text()%20%3D%20...%20%E6%AD%A3%E3%81%97%E3%81%84%E3%82%BF%E3%82%A4%E3%83%88%E3%83%AB%E3%82%92%E6%A4%9C%E7%B4%A2%E3%81%97%E3%81%BE%E3%81%99%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%E3%81%A7%E3%82%82%E3%81%B2%E3%82%87%E3%81%A3%E3%81%A8%E3%81%97%E3%81%9F%E3%82%89%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3E(nw%20%26lt%3B%26lt%3B%20XPath(%20%22%2F%2FScrollBox%22%20))%20%26lt%3B%26lt%3B%20delete%3B%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%E3%81%9D%E3%82%8C%E3%81%AF%E3%81%82%E3%81%AA%E3%81%9F%E3%81%8C%E6%9C%9B%E3%82%80%E3%82%82%E3%81%AE%E3%81%A7%E3%81%99%3A)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-675453%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20Xpath%20%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%82%A6%E3%82%A3%E3%83%B3%E3%83%89%E3%82%A6%E3%81%8B%E3%82%89%E5%A4%96%E3%82%8C%E5%80%A4%E3%83%9C%E3%83%83%E3%82%AF%E3%82%B9%E3%82%92%E5%89%8A%E9%99%A4%E3%81%99%E3%82%8B%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-675453%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E3%83%9B%E3%82%AE%E3%81%95%E3%82%93%E3%80%81%E3%81%82%E3%82%8A%E3%81%8C%E3%81%A8%E3%81%86%EF%BC%81%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
Jackie_
Level VI

Use Xpath to delete outlier box from the window

Hi,

 

I want to delete the Tabulate Outlier box upon unchecking the checkbox. I tried Xpath but something is not correct. Any suggestion?

Here is the jsl code

Names Default To Here( 1 );

dt = Open( "$SAMPLE_DATA/Semiconductor Capability.jmp" );

List1 = {"NPN1", "PNP1", "PNP2", "NPN2", "PNP3", "IVP1"};
List2 = {"PNP4", "NPN3", "IVP2", "NPN4", "SIT1"};
List3 = {"INM1", "INM2", "VPM1", "VPM2", "VPM3"};
List4 = {"SNM1", "SPM1", "NPN5", "EP2", "ZD6"};

var expr1 = Expr( Variables() );
For( c = 1, c <= N Items( List1 ), c++,
	x expr1 = Expr(
		X( Position( 1 ), Combine( "Parallel Merged" ) )
	);
	Insert Into( x expr1, List1[c], 1 );
	Insert Into( var expr1, Name Expr( x expr1 ) );
);

var expr2 = Expr( Variables() );
For( c = 1, c <= N Items( List2 ), c++,
	x expr2 = Expr(
		X( Position( 1 ), Combine( "Parallel Merged" ) )
	);
	Insert Into( x expr2, List2[c], 1 );
	Insert Into( var expr2, Name Expr( x expr2 ) );
);

var expr3 = Expr( Variables() );
For( c = 1, c <= N Items( List3 ), c++,
	x expr3 = Expr(
		X( Position( 1 ), Combine( "Parallel Merged" ) )
	);
	Insert Into( x expr3, List3[c], 1 );
	Insert Into( var expr3, Name Expr( x expr3 ) );
);

var expr4 = Expr( Variables() );
For( c = 1, c <= N Items( List4 ), c++,
	x expr4 = Expr(
		X( Position( 1 ), Combine( "Parallel Merged" ) )
	);
	Insert Into( x expr4, List4[c], 1 );
	Insert Into( var expr4, Name Expr( x expr4 ) );
);


lists = {"List1", "List2", "List3", "List4"};
var = {};
gbv = {};

For( i = 1, i <= 4, i++,
	Insert Into( var, Name Expr( Eval( Parse( "var expr" || Char( i ) ) ) ) );
	Insert Into( gbv, Parse( "vvv" || Char( i ) ) );
);

nw = New Window( "Plots",
	Show Menu( 0 ),
	show toolbars( 0 ),
	H List Box(

		Check Box(
			{"Summary"}, 
						
			<<Set Function(
				Function( {self}, 
							
					sel = self << get selected();
					If( N Items( sel ) > 0,
						For( i = 1, i <= N Items( lists ), i++,
							If( N Items( Eval( Parse( lists[i] ) ) ) > 0,
								nw[lists[i], Outline Box( 1 )] << append(
										 
					
									V Scroll Box(
										size( 580 ),
										Border Box( Left( 5 ), Right( 5 ), Top( 5 ), Bottom( 5 ), Sides( 15 ),
											Tabulate(
												Show Control Panel( 0 ),
												Set Format( Uniform Format( 10, 2 ) ),
												Add Table(
													Column Table( Statistics( Mean, Std Dev ) ),
													Row Table(
														Analysis Columns(
															Eval( Parse( lists[i] ) )
								
														)
													)
												), 
						
						
						
												SendToReport(
													Dispatch( {}, "Tabulate", OutlineBox, {Set Title( "Summary Stats" )} )
	
					
												)
											)
										)
									)
											
											
										
										
									
								) << Visibility( "Visible" );
			
							)
						);
								
					,
					/// Xpath syntax

	nw << XPath( "//Outlinebox[@helpKey = 'Summary Stats']" ) << delete;
							
								
								
								
								
					);
				);
						
			)
	
	
	
		),
		V List Box( tb = Tab Box() )
	)
);

For( i = 1, i <= N Items( lists ), i++,
	tb << Add(
		lists[i],
		V List Box(
			H List Box(
				Eval(
					Eval Expr(
						gb = dt << Graph Builder(
							Size( 1117, 781 ),
							Show Control Panel( 0 ), 
						
							Expr( Name Expr( var[i] ) ),
							Elements(
								Histogram(
									X( 1 ),
									X( 2 ),
									X( 3 ),
									X( 4 ),
									X( 5 ),
									X( 6 ),
									X( 7 ),
									X( 8 ),
									X( 9 ),
									X( 10 ),
									X( 11 ),
									X( 12 ),
									X( 13 ),
									X( 14 ),
									X( 15 ),
									X( 16 ), 
									
									Legend( 2 ), 
							
								),
								Box Plot(
									X( 1 ),
									X( 2 ),
									X( 3 ),
									X( 4 ),
									X( 5 ),
									X( 6 ),
									X( 7 ),
									X( 8 ),
									X( 9 ),
									X( 10 ),
									X( 11 ),
									X( 12 ),
									X( 13 ),
									X( 14 ),
									X( 15 ),
									X( 16 ), 
									
									Legend( 3 ),
									Outliers( 0 )
								)
							)
						)
					)
				),
				sumsta = Outline Box( 
					
					lists[i],
					<<visibility( "Collapse" )
						
						
				)
					
				
			)
		)
	);

				
	
	
	
);

 

1 ACCEPTED SOLUTION

Accepted Solutions
hogi
Level XIII

Re: Use Xpath to delete outlier box from the window

Instead of

nw << XPath( "//Outlinebox[@helpKey = 'Summary Stats']" ) << delete;

please try

(nw << XPath( "//OutlineBox[text() = 'Summary Stats']" )) << delete;

- the brackets guarantee that the delete message is sent to the Outline Box.

- use OutlineBox instead of Outlinebox (one of the few cases where Jmp is case sensitive)

- text() = ... searches for the correct title


But perhaps

(nw << XPath( "//ScrollBox" )) << delete;

is what you want :)

View solution in original post

2 REPLIES 2
hogi
Level XIII

Re: Use Xpath to delete outlier box from the window

Instead of

nw << XPath( "//Outlinebox[@helpKey = 'Summary Stats']" ) << delete;

please try

(nw << XPath( "//OutlineBox[text() = 'Summary Stats']" )) << delete;

- the brackets guarantee that the delete message is sent to the Outline Box.

- use OutlineBox instead of Outlinebox (one of the few cases where Jmp is case sensitive)

- text() = ... searches for the correct title


But perhaps

(nw << XPath( "//ScrollBox" )) << delete;

is what you want :)

Jackie_
Level VI

Re: Use Xpath to delete outlier box from the window

Thanks Hogi !

Recommended Articles