cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
%3CLINGO-SUB%20id%3D%22lingo-sub-800152%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EScripters%20Club%20%E5%BD%95%E9%9F%B3%EF%BC%9AGraph%20Builder%20%E4%B8%AD%E7%9A%84%20JSL%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-800152%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E8%A7%86%E9%A2%91%201%3C%2FP%3E%0A%3CP%3E%E4%B8%BB%E6%8C%81%E4%BA%BA%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F18064%22%20target%3D%22_blank%22%3E%40Emmanuel_Romeu%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3C%2FP%3E%3CDIV%20class%3D%22lia-vid-container%20video-embed-center%20lia-video-unavailable%22%3E%3CDIV%20id%3D%22lia-vid-6362145953112w320h240r405%22%20class%3D%22lia-video-ooyala-player-container%22%3E%3CDIV%20class%3D%22lia-video-status-message%22%3E%E8%AF%A5%E8%A7%86%E9%A2%91%E7%9B%AE%E5%89%8D%E6%AD%A3%E5%9C%A8%E5%A4%84%E7%90%86%E4%B8%AD%E3%80%82%E8%AF%B7%E5%87%A0%E5%88%86%E9%92%9F%E5%90%8E%E9%87%8D%E8%AF%95%E3%80%82%3C%2FDIV%3E%3C%2FDIV%3E%3CA%20class%3D%22video-embed-link%22%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fvideo%2Fgallerypage%2Fvideo-id%2F6362145953112%22%20target%3D%22_blank%22%3E%EF%BC%88%E5%9C%A8%E6%88%91%E7%9A%84%E5%BD%B1%E7%89%87%E4%B8%AD%E6%9F%A5%E7%9C%8B%EF%BC%89%3C%2FA%3E%3C%2FDIV%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%E8%A7%86%E9%A2%91%202%3C%2FP%3E%0A%3CP%3E%E4%B8%BB%E6%8C%81%E4%BA%BA%EF%BC%9A%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F14366%22%20target%3D%22_blank%22%3E%40jthi%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%3C%2FP%3E%3CDIV%20class%3D%22lia-vid-container%20video-embed-center%20lia-video-unavailable%22%3E%3CDIV%20id%3D%22lia-vid-6362144301112w400h300r908%22%20class%3D%22lia-video-ooyala-player-container%22%3E%3CDIV%20class%3D%22lia-video-status-message%22%3E%E8%AF%A5%E8%A7%86%E9%A2%91%E7%9B%AE%E5%89%8D%E6%AD%A3%E5%9C%A8%E5%A4%84%E7%90%86%E4%B8%AD%E3%80%82%E8%AF%B7%E5%87%A0%E5%88%86%E9%92%9F%E5%90%8E%E9%87%8D%E8%AF%95%E3%80%82%3C%2FDIV%3E%3C%2FDIV%3E%3CA%20class%3D%22video-embed-link%22%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fvideo%2Fgallerypage%2Fvideo-id%2F6362144301112%22%20target%3D%22_blank%22%3E%EF%BC%88%E5%9C%A8%E6%88%91%E7%9A%84%E5%BD%B1%E7%89%87%E4%B8%AD%E6%9F%A5%E7%9C%8B%EF%BC%89%3C%2FA%3E%3C%2FDIV%3E%3CP%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-800162%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9AScripters%20Club%20%E5%BD%95%E9%9F%B3%EF%BC%9AGraph%20Builder%20%E4%B8%AD%E7%9A%84%20JSL%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-800162%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%91%E4%BD%BF%E7%94%A8%E7%9A%84%E8%84%9A%E6%9C%AC%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-800167%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9AScripters%20Club%20%E5%BD%95%E9%9F%B3%EF%BC%9AGraph%20Builder%20%E4%B8%AD%E7%9A%84%20JSL%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-800167%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ETeams%20%E8%81%8A%E5%A4%A9%E4%B8%AD%E7%9A%84%E5%87%A0%E4%B8%AA%E9%97%AE%E9%A2%98%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%E9%97%AE%E9%A2%98%E4%B8%80%EF%BC%9A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%3E%E6%98%AF%E5%90%A6%E6%9C%89%E4%B8%80%E4%B8%AA%20Xpath%20%E5%91%BD%E4%BB%A4%E5%AF%B9%E5%BA%94%E4%BA%8E%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EDispatch(%20%7B%7D%2C%20%22X%20title%22%2C%20TextEditBox%2C%3C%2FCODE%3E%3C%2FPRE%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CP%3E%3CSTRONG%3E%E7%AD%94%E6%A1%881%EF%BC%9A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%E6%9C%80%E7%AE%80%E5%8D%95%E7%9A%84%E6%A3%80%E6%9F%A5%E6%96%B9%E6%B3%95%E6%98%AF%E4%BD%BF%E7%94%A8%20%26lt%3B%26lt%3B%20Get%20XML%20%E5%B9%B6%E6%A3%80%E6%9F%A5%E6%98%AF%E5%90%A6%E5%8F%AF%E4%BB%A5%E4%BB%8E%E4%B8%AD%E6%89%BE%E5%88%B0%E2%80%9CX%20title%E2%80%9D%E3%80%82%E6%82%A8%E6%89%BE%E4%B8%8D%E5%88%B0%EF%BC%88%E8%BF%99%E4%BA%9B%E2%80%9C%E6%98%BE%E7%A4%BA%E5%85%83%E7%B4%A0%E2%80%9D%3CSTRONG%3E%E5%8F%AF%E8%83%BD%3C%2FSTRONG%3E%E4%B8%8E%20helpKey%20%E5%B1%9E%E6%80%A7%E7%9B%B8%E5%90%8C%EF%BC%8C%E4%BD%86%E5%AE%83%E4%BB%AC%E5%8F%AA%E6%98%AF%E5%B0%9A%E6%9C%AA%E6%B7%BB%E5%8A%A0%E5%88%B0%E6%89%80%E6%9C%89%E5%86%85%E5%AE%B9%E4%B8%AD%EF%BC%89%E3%80%82%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22jthi_1-1726730746177.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_1-1726730746177.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_1-1726730746177.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_1-1726730746177.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_1-1726730746177.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_1-1726730746177.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_1-1726730746177.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_1-1726730746177.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F68446iB34427FDB0B771BD%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22jthi_1-1726730746177.png%22%20alt%3D%22jthi_1-1726730746177.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22jthi_0-1726730734808.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1726730734808.png%22%20style%3D%22width%3A%20734px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1726730734808.png%22%20style%3D%22width%3A%20734px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1726730734808.png%22%20style%3D%22width%3A%20734px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1726730734808.png%22%20style%3D%22width%3A%20734px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1726730734808.png%22%20style%3D%22width%3A%20734px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1726730734808.png%22%20style%3D%22width%3A%20734px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1726730734808.png%22%20style%3D%22width%3A%20734px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F68445iC88150C9BF2FC54D%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22jthi_0-1726730734808.png%22%20alt%3D%22jthi_0-1726730734808.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%E4%BD%86%E6%98%AF%E6%82%A8%E5%8F%AF%E4%BB%A5%E6%9E%84%E5%BB%BA%E5%A4%8D%E6%9D%82%E7%9A%84%20XPath%20%E6%9D%A5%E8%8E%B7%E5%8F%96%E8%BD%B4%E6%96%87%E6%9C%AC%E7%BC%96%E8%BE%91%E6%A1%86%EF%BC%88%E6%88%91%E8%AE%A4%E4%B8%BA%E7%AC%AC%E4%B8%80%E4%B8%AA%E5%A7%8B%E7%BB%88%E6%98%AF%20X%20%E8%BD%B4%EF%BC%89%E3%80%82%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EGraphBuilderAxisBox%20%3CGRAPHBUILDERCOMPONENTBOX%20leftoffset%3D%2247%22%20topoffset%3D%22435%22%20width%3D%22478%22%20height%3D%2219%22%3E%0A%20%20%3CGRAPHBUILDERTITLEBOX%20width%3D%22478%22%20height%3D%2219%22%3E%0A%09%3CTEXTEDITBOX%20leftoffset%3D%22223%22%20topoffset%3D%220%22%20width%3D%2231%22%20height%3D%2219%22%3EMy%20X%3C%2FTEXTEDITBOX%3E%0A%20%20%3C%2FGRAPHBUILDERTITLEBOX%3E%0A%3C%2FGRAPHBUILDERCOMPONENTBOX%3E%0A%3CGRAPHBUILDERCOMPONENTBOX%20leftoffset%3D%2247%22%20topoffset%3D%22408%22%20width%3D%22478%22%20height%3D%2227%22%3E%0A%20%20%3CGRAPHBUILDERAXISBOX%20width%3D%22478%22%20height%3D%2227%22%3E%0A%09%3CAXISBOX%20width%3D%22478%22%20height%3D%2227%22%20charid%3D%221000%22%3E%3C%2FAXISBOX%3E%0A%20%20%3C%2FGRAPHBUILDERAXISBOX%3E%0A%3C%2FGRAPHBUILDERCOMPONENTBOX%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%E6%82%A8%E5%8F%AF%E4%BB%A5%E6%A0%B9%E6%8D%AE%E6%9F%A5%E6%89%BE%20GraphBuilderComponentBox%20%2B%20GraphBuilderAxisBox%20%E5%92%8C%E5%89%8D%E9%9D%A2%E7%9A%84%20GraphBuilderComponentBox%20%2B%20GraphBuilderTitleBox%20%E6%9D%A5%E5%88%B6%E5%AE%9A%20XPath%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3E%2F%2FGraphBuilderComponentBox%5BGraphBuilderAxisBox%5D%2Fpreceding-sibling%3A%3AGraphBuilderComponentBox%5B1%5D%2FGraphBuilderTitleBox%2FTextEditBox%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(1)%3B%20%0A%0Adt%20%3D%20open(%22%24SAMPLE_DATA%2FBig%20Class.jmp%22)%3B%0A%0Agb%20%3D%20dt%20%26lt%3B%26lt%3B%20Graph%20Builder(%0A%09Size(525%2C%20454)%2C%0A%09Show%20Control%20Panel(0)%2C%0A%09Variables(X(%3Aweight)%2C%20Y(%3Aheight))%2C%0A%09Elements(Points(X%2C%20Y%2C%20Legend(3)))%2C%0A%09SendToReport(%0A%09%09Dispatch(%7B%7D%2C%20%22X%20title%22%2C%20TextEditBox%2C%20%7BSet%20Text(%22My%20X%22)%7D)%2C%0A%09%09Dispatch(%7B%7D%2C%20%22Y%20title%22%2C%20TextEditBox%2C%20%7BSet%20Text(%22My%20Y%22)%7D)%0A%09)%0A)%3B%0A%0Anw%20%3D%20New%20Window(%22gbscript%22%2C%20%26lt%3B%26lt%3B%20type(%22Script%22)%2C%20%26lt%3B%26lt%3B%20Language(%22XML%22)%2C%20%0A%09Report(gb)%20%26lt%3B%26lt%3B%20Get%20XML%3B%0A)%3B%0A%0Aaxis_title_tebs%20%3D%20Report(gb)%20%26lt%3B%26lt%3B%20XPath(%22%2F%2FGraphBuilderComponentBox%5BGraphBuilderAxisBox%5D%2Fpreceding-sibling%3A%3AGraphBuilderComponentBox%5B1%5D%2FGraphBuilderTitleBox%2FTextEditBox%22)%3B%0A%0Aaxis_title_tebs%5B1%5D%20%26lt%3B%26lt%3B%20Set%20Text(%22XXXXX%22)%3B%0Aaxis_title_tebs%5B2%5D%20%26lt%3B%26lt%3B%20Set%20Text(%22YYYYY%22)%3B%0A%0AWrite()%3B%0A%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%E9%97%AE%E9%A2%98%202%EF%BC%9A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%3CHR%20%2F%3E%0A%3CP%20style%3D%22margin-bottom%3A%200px%3B%20margin-top%3A%200px%3B%22%3E%E4%B8%8D%E8%BF%87%EF%BC%8C%E8%BF%99%E4%B8%AA%E9%97%AE%E9%A2%98%E4%B8%8E%20Graph%20Builder%20%E6%9B%B4%E7%9B%B8%E5%85%B3%EF%BC%8C%E4%B8%8E%E8%84%9A%E6%9C%AC%E6%B2%A1%E6%9C%89%E7%9B%B4%E6%8E%A5%E5%85%B3%E7%B3%BB%E3%80%82%E6%82%A8%E8%83%BD%E5%90%A6%E6%BC%94%E7%A4%BA%E5%A6%82%E4%BD%95%E5%9C%A8%E5%9B%BE%E8%A1%A8%E4%B8%AD%E7%AA%81%E5%87%BA%E6%98%BE%E7%A4%BA%E6%88%96%E8%AF%86%E5%88%AB%E6%A0%B7%E6%9C%AC%EF%BC%9F%E4%BB%A5%E5%8F%8A%E5%A6%82%E4%BD%95%E5%8F%AA%E4%B8%BA%E5%85%B6%E4%B8%AD%E4%B8%80%E4%B8%AA%E6%A0%B7%E6%9C%AC%E6%B7%BB%E5%8A%A0%E6%A0%87%E7%AD%BE%EF%BC%8C%E4%BB%A5%E5%8F%8A%E5%A6%82%E4%BD%95%E4%B8%BA%E6%9F%90%E4%BA%9B%E7%89%B9%E5%AE%9A%E6%A0%B7%E6%9C%AC%E6%B7%BB%E5%8A%A0%E6%A0%87%E7%AD%BE%E3%80%82%3C%2FP%3E%0A%3CHR%20%2F%3E%3C%2FBLOCKQUOTE%3E%0A%3CP%3E%3CSTRONG%3E%E7%AD%94%E6%A1%882%EF%BC%9A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%E4%B8%8D%E5%90%8C%E7%B1%BB%E5%9E%8B%E7%9A%84%E6%95%B0%E6%8D%AE%EF%BC%88%E5%92%8C%20JMP%20%E7%89%88%E6%9C%AC%EF%BC%89%E5%8F%AF%E8%83%BD%E9%9C%80%E8%A6%81%E4%B8%8D%E5%90%8C%E7%B1%BB%E5%9E%8B%E7%9A%84%E6%A0%87%E8%AE%B0%E6%8A%80%E6%9C%AF%E3%80%82%E5%9C%A8%E6%9C%80%E5%9D%8F%E7%9A%84%E6%83%85%E5%86%B5%E4%B8%8B%EF%BC%8C%E6%82%A8%E5%8F%AF%E8%83%BD%E9%9C%80%E8%A6%81%E7%BC%96%E5%86%99%E8%84%9A%E6%9C%AC%EF%BC%8C%E4%BD%86%E9%80%9A%E5%B8%B8%E8%BF%99%E4%B8%8D%E6%98%AF%E5%BF%85%E8%A6%81%E7%9A%84%E3%80%82%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%E6%88%91%E5%B0%86%E9%87%87%E7%94%A8%20JMP18%20%E5%92%8C%E7%AE%80%E5%8D%95%E6%95%B0%E6%8D%AE%E7%9A%84%E5%81%87%E8%AE%BE%E3%80%82%E6%88%91%E6%9C%89%E8%BF%99%E6%A0%B7%E7%9A%84%E5%9B%BE%E8%A1%A8%EF%BC%8C%E6%88%91%E5%B8%8C%E6%9C%9B%E6%A0%87%E8%AE%B0%E5%92%8C%E7%9D%80%E8%89%B2%E7%AA%81%E5%87%BA%E6%98%BE%E7%A4%BA%E7%9A%84%E7%82%B9%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22jthi_2-1726731329895.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_2-1726731329895.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_2-1726731329895.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_2-1726731329895.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_2-1726731329895.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_2-1726731329895.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_2-1726731329895.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_2-1726731329895.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F68447i3B7E8CFF7AB26610%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22jthi_2-1726731329895.png%22%20alt%3D%22jthi_2-1726731329895.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%E5%8F%AA%E9%9C%80%E6%A0%87%E8%AE%B0%E8%AF%A5%E8%A1%8C%E5%B9%B6%E6%B7%BB%E5%8A%A0%E9%A2%9C%E8%89%B2%E8%A1%8C%E7%8A%B6%E6%80%81%EF%BC%8C%E5%AE%83%E5%B0%B1%E4%BC%9A%E5%83%8F%E8%BF%99%E6%A0%B7%E7%AA%81%E5%87%BA%E6%98%BE%E7%A4%BA%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22jthi_3-1726731367719.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_3-1726731367719.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_3-1726731367719.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_3-1726731367719.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_3-1726731367719.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_3-1726731367719.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_3-1726731367719.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_3-1726731367719.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F68448i0444DF59C6CB9747%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22jthi_3-1726731367719.png%22%20alt%3D%22jthi_3-1726731367719.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%E8%BF%99%E4%B8%AA%E6%8F%92%E4%BB%B6%E8%BF%98%E6%8F%90%E5%88%B0%E4%BA%86%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2FJMP-Add-Ins%2FColumn-Quick-Swapper-easily-change-multiple-Y-and-X-axis-columns%2Fm-p%2F724616%23U724616%22%20class%3D%22lia-mention-container-editor-message%20lia-img-icon-tkb-thread%20lia-fa-icon%20lia-fa-tkb%20lia-fa-thread%20lia-fa%22%20target%3D%22_blank%22%3E%E5%88%97%E5%BF%AB%E9%80%9F%E4%BA%A4%E6%8D%A2%E5%99%A8%20-%20%E5%9C%A8%E5%9B%BE%E5%BD%A2%E7%94%9F%E6%88%90%E5%99%A8%E4%B8%AD%E8%BD%BB%E6%9D%BE%E6%9B%B4%E6%94%B9%E5%A4%9A%E4%B8%AA%20Y%20%E8%BD%B4%E5%92%8C%20X%20%E8%BD%B4%E5%88%97%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-800173%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9AScripters%20Club%20%E5%BD%95%E9%9F%B3%EF%BC%9AGraph%20Builder%20%E4%B8%AD%E7%9A%84%20JSL%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-800173%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CP%3E%E8%B0%A2%E8%B0%A2%E6%82%A8%E7%9A%84%E5%9B%9E%E7%AD%94%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%88%91%E6%83%B3%E7%9F%A5%E9%81%93%E4%B8%BA%E4%BB%80%E4%B9%88%E6%B2%A1%E6%9C%89%E7%B1%BB%E4%BC%BC%E7%9A%84%E4%B8%9C%E8%A5%BF%EF%BC%9A%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Ecurrent%20report()%20%26lt%3B%26lt%3B%20XPath(%22%2F%2FTextEditBox%5B%40type%3D'X%20%20title'%5D%22)%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%3CBR%20%2F%3E%E5%AE%9E%E9%99%85%E5%BA%94%E7%94%A8%E6%A1%88%E4%BE%8B%EF%BC%9A%3CBR%20%2F%3E%E8%8E%B7%E5%8F%96%E5%85%B7%E6%9C%89%202%20%E4%B8%AA%20x%20%E8%BD%B4%E6%A0%87%E7%AD%BE%E5%92%8C%202%20%E4%B8%AA%20y%20%E8%BD%B4%E6%A0%87%E7%AD%BE%E7%9A%84%E5%9B%BE%E8%A1%A8%3CU%3E%E5%BA%95%E9%83%A8%20Y%20%E8%BD%B4%E6%A0%87%E9%A2%98%3C%2FU%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EDispatch(%20%7B%7D%2C%20%22Y%201%20title%22%2C%20TextEditBox%2C%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%E4%B8%8E%E7%8C%9C%E6%B5%8B%E6%AD%A4%E5%88%97%E8%A1%A8%E4%B8%AD%E7%9A%84%E6%AD%A3%E7%A1%AE%E6%9D%A1%E7%9B%AE%E7%9B%B8%E6%AF%94%EF%BC%8C%E8%BF%99%E9%9D%9E%E5%B8%B8%E7%B2%BE%E5%BD%A9%EF%BC%9A%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Eaxis_title_tebs%20%3D%20Report(gb)%20%26lt%3B%26lt%3B%20XPath(%22%2F%2FGraphBuilderComponentBox%5BGraphBuilderAxisBox%5D%2Fpreceding-sibling%3A%3AGraphBuilderComponentBox%5B1%5D%2FGraphBuilderTitleBox%2FTextEditBox%22)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%20%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-800184%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9AScripters%20Club%20%E5%BD%95%E9%9F%B3%EF%BC%9AGraph%20Builder%20%E4%B8%AD%E7%9A%84%20JSL%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-800184%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E4%BB%8D%E7%84%B6%E5%8F%AF%E4%BB%A5%E8%AE%A9%E5%AE%83%E7%9B%B8%E5%BD%93%E5%81%A5%E5%A3%AE%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(1)%3B%20%0A%0Adt%20%3D%20open(%22%24SAMPLE_DATA%2FBig%20Class.jmp%22)%3B%0A%0Agb%20%3D%20dt%20%26lt%3B%26lt%3B%20Graph%20Builder(%0A%09Size(528%2C%20448)%2C%0A%09Show%20Control%20Panel(0)%2C%0A%09Variables(X(%3Asex)%2C%20X(%3Aage)%2C%20Y(%3Aweight)%2C%20Y(%3Aheight)%2C%20Overlay(%3Asex))%2C%0A%09Elements(Position(1%2C%201)%2C%20Points(X%2C%20Y%2C%20Legend(24)))%2C%0A%09Elements(Position(1%2C%202)%2C%20Points(X%2C%20Y%2C%20Legend(25)))%2C%0A%09Elements(Position(2%2C%201)%2C%20Points(X%2C%20Y%2C%20Legend(9))%2C%20Line%20Of%20Fit(X%2C%20Y%2C%20Legend(11)))%2C%0A%09Elements(%0A%09%09Position(2%2C%202)%2C%0A%09%09Points(X%2C%20Y%2C%20Legend(16))%2C%0A%09%09Line%20Of%20Fit(X%2C%20Y%2C%20Legend(17))%0A%09)%0A)%3B%0A%0Aaxis_title_tebs%20%3D%20Report(gb)%20%26lt%3B%26lt%3B%20XPath(%22%2F%2FGraphBuilderComponentBox%5BGraphBuilderAxisBox%5D%2Fpreceding-sibling%3A%3AGraphBuilderComponentBox%5B1%5D%2FGraphBuilderTitleBox%2FTextEditBox%22)%3B%0Axcount%20%3D%20gb%20%26lt%3B%26lt%3B%20Get%20N%20Positions(%22X%22)%3B%0A%0Afirstyaxis%20%3D%20axis_title_tebs%5Bxcount%20%2B%201%5D%3B%0A%0AShow(firstyaxis%20%26lt%3B%26lt%3B%20get%20text)%3B%0A%0AWrite()%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%E5%A4%AA%E7%B3%9F%E7%B3%95%E4%BA%86%EF%BC%8C%E9%82%A3%E6%98%AF%E2%80%9CY%201%20%E6%A0%87%E9%A2%98%E2%80%9D%E8%80%8C%E4%B8%8D%E6%98%AF%E2%80%9CY%20%E6%A0%87%E9%A2%98%E2%80%9D%EF%BC%88%E6%88%96%E8%80%85%E4%B9%9F%E8%AE%B8%E5%AE%83%E5%BA%94%E8%AF%A5%E5%A7%8B%E7%BB%88%E6%98%AF%E2%80%9CY%201%20%E6%A0%87%E9%A2%98%E2%80%9D%EF%BC%8C%E6%88%91%E4%BB%AC%E7%94%9A%E8%87%B3%E4%B8%8D%E5%BA%94%E8%AF%A5%E5%8F%AA%E6%9C%89%E2%80%9CY%20%E6%A0%87%E9%A2%98%E2%80%9D%EF%BC%89%EF%BC%8C%E6%89%80%E4%BB%A5%E5%A6%82%E6%9E%9C%E6%82%A8%E6%9C%89%E4%B8%80%E4%B8%AA%E6%88%96%E5%A4%9A%E4%B8%AA%20y%20%E8%BD%B4%EF%BC%8C%E6%83%85%E5%86%B5%E4%BC%9A%E6%9C%89%E6%89%80%E4%B8%8D%E5%90%8C%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-800185%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9AScripters%20Club%20%E5%BD%95%E9%9F%B3%EF%BC%9AGraph%20Builder%20%E4%B8%AD%E7%9A%84%20JSL%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-800185%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%97%AF%E2%80%A6%E2%80%A6%3CBR%20%2F%3E%20%E2%80%9C%E5%85%8D%E8%B4%B9%E2%80%9D%E8%8E%B7%E5%BE%97%E8%BF%99%E9%A1%B9%E5%A5%96%E5%8A%B1%E5%88%86%E6%9E%90%E6%8C%91%E6%88%98%E6%80%BB%E6%98%AF%E5%BE%88%E6%9C%89%E8%B6%A3%E7%9A%84%3C%2FP%3E%3CP%3E-%20%E9%99%A4%E4%BA%86%E5%88%86%E6%9E%90%E4%B9%8B%E5%A4%96%EF%BC%8C%E4%BD%A0%E8%BF%98%E4%BC%9A%E5%BE%97%E5%88%B0%E2%80%9C%E6%8A%A5%E9%85%AC%E2%80%9D%3CLI-EMOJI%20id%3D%22lia_winking-face%22%20title%3D%22%3Acara_gui%C3%B1ando_un_ojo%3A%22%3E%3C%2FLI-EMOJI%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-800729%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9AScripters%20Club%20%E5%BD%95%E9%9F%B3%EF%BC%9AGraph%20Builder%20%E4%B8%AD%E7%9A%84%20JSL%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-800729%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E8%84%9A%E6%9C%AC%E6%8C%87%E5%8D%97%E4%B8%AD%E7%9A%84%E5%87%A0%E4%B8%AA%E9%93%BE%E6%8E%A5%EF%BC%88%E4%B8%8D%E4%B8%80%E5%AE%9A%E4%B8%8E%E5%9B%BE%E5%BD%A2%E7%94%9F%E6%88%90%E5%99%A8%E7%9A%84%20JSL%20%E7%9B%B4%E6%8E%A5%E7%9B%B8%E5%85%B3%EF%BC%89%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fwww.jmp.com%2Fsupport%2Fhelp%2Fen%2F18.0%2F%23page%2Fjmp%2Fgraph-builder-scripts.shtml%23%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%E6%8C%89%E5%B9%B3%E5%8F%B0%E5%88%92%E5%88%86%E7%9A%84%E8%84%9A%E6%9C%AC%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9%20%26gt%3B%20%E5%9B%BE%E5%BD%A2%E7%94%9F%E6%88%90%E5%99%A8%E8%84%9A%E6%9C%AC%3C%2FA%3E%20%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fwww.jmp.com%2Fsupport%2Fhelp%2Fen%2F18.0%2F%23page%2Fjmp%2Fget-references-to-display-box-objects.shtml%23%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%E8%8E%B7%E5%8F%96%E6%98%BE%E7%A4%BA%E6%A1%86%E5%AF%B9%E8%B1%A1%E7%9A%84%E5%BC%95%E7%94%A8%3C%2FA%3E%20%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fwww.jmp.com%2Fsupport%2Fhelp%2Fen%2F18.0%2F%23page%2Fjmp%2Fsend-messages-to-display-boxes.shtml%3Fos%3Dwin%26amp%3Bsource%3Dapplication%23ww547854%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%E4%BD%BF%E7%94%A8%E2%80%9C%E5%8F%91%E9%80%81%E6%8A%A5%E5%91%8A%E2%80%9D%E5%92%8C%E2%80%9C%E8%B0%83%E5%BA%A6%E2%80%9D%E5%8A%9F%E8%83%BD%E8%87%AA%E5%AE%9A%E4%B9%89%E6%8A%A5%E5%91%8A%3C%2FA%3E%20%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fwww.jmp.com%2Fsupport%2Fhelp%2Fen%2F18.0%2F%23page%2Fjmp%2Fscripting-graphs.shtml%23%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%E8%84%9A%E6%9C%AC%E5%9B%BE%E8%A1%A8%3C%2FA%3E%20%3C%2FLI%3E%0A%3C%2FUL%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-805009%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9AScripters%20Club%20%E5%BD%95%E9%9F%B3%EF%BC%9AGraph%20Builder%20%E4%B8%AD%E7%9A%84%20JSL%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-805009%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E8%87%AA%20JMP18%20%E4%BB%A5%E6%9D%A5%EF%BC%8C%E6%8C%89%E5%8F%98%E9%87%8F%E7%9A%84%E5%B7%A5%E4%BD%9C%E6%96%B9%E5%BC%8F%E7%95%A5%E6%9C%89%E4%B8%8D%E5%90%8C%EF%BC%8C%E5%B9%B6%E4%B8%94%E6%9C%89%E6%96%B0%E7%9A%84%E9%80%89%E9%A1%B9%E3%80%82%E5%A6%82%E6%9E%9C%E6%82%A8%E8%A7%89%E5%BE%97%E8%87%AA%E5%B7%B1%E7%BB%8F%E5%B8%B8%E4%BD%BF%E7%94%A8%E6%8C%89%E5%8F%98%E9%87%8F%EF%BC%8C%E6%88%91%E5%BB%BA%E8%AE%AE%E6%82%A8%E4%BB%8E%E8%84%9A%E6%9C%AC%E7%B4%A2%E5%BC%95%E4%B8%AD%E6%9F%A5%E7%9C%8B%E7%BB%84%E5%B9%B3%E5%8F%B0%E3%80%82%E4%BE%8B%E5%A6%82%EF%BC%8C%E5%AE%83%E5%8C%85%E5%90%AB%E2%80%9C%E7%BB%84%E5%B9%B3%E5%8F%B0%E2%80%9D%EF%BC%8C%E8%BF%99%E5%8F%AF%E8%83%BD%E4%B8%8D%E6%97%B6%E6%9C%89%E7%94%A8%EF%BC%8C%E5%9B%A0%E4%B8%BA%E6%82%A8%E5%8F%AF%E4%BB%A5%E6%8E%A7%E5%88%B6%E8%8E%B7%E5%8F%96%E5%93%AA%E4%B8%AA%E5%BC%95%E7%94%A8%EF%BC%88%E6%9C%80%E9%AB%98%E7%BA%A7%E5%88%AB%E6%88%96%E5%88%97%E8%A1%A8%E4%B8%AD%E7%9A%84%E6%89%80%E6%9C%89%E5%B9%B3%E5%8F%B0%EF%BC%89%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22jthi_0-1728628952981.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1728628952981.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F69027i710B720848AA4064%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22jthi_0-1728628952981.png%22%20alt%3D%22jthi_0-1728628952981.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.jmp.com%2Fsupport%2Fhelp%2Fen%2F18.0%2F%23page%2Fjmp%2Ffilter-by-value-using-a-where-statement.shtml%23%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%E4%BD%BF%E7%94%A8%20Where%20%E8%AF%AD%E5%8F%A5%E6%8C%89%E5%80%BC%E8%BF%9B%E8%A1%8C%E8%BF%87%E6%BB%A4%20(jmp.com)%20%E6%97%B6%EF%BC%8C%3C%2FA%3E%E9%9C%80%E8%A6%81%E8%80%83%E8%99%91%E7%9A%84%E4%BA%8B%E9%A1%B9%E6%9C%89%E4%BA%9B%E7%B1%BB%E4%BC%BC%E3%80%82%E5%85%B6%E4%B8%AD%E4%B8%80%E4%B8%AA%E8%80%83%E8%99%91%E5%9B%A0%E7%B4%A0%E5%8F%AF%E8%83%BD%E6%98%AF%E4%BB%96%E4%BB%AC%E6%AD%A3%E5%9C%A8%E4%BD%BF%E7%94%A8%E5%93%AA%E4%B8%AA%E6%95%B0%E6%8D%AE%E8%A1%A8%E6%88%96%E5%93%AA%E4%B8%AA%20where%20%E8%A1%A8%E8%BE%BE%E5%BC%8F%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(1)%3B%20%0A%0Adt%20%3D%20open(%22%24SAMPLE_DATA%2FBig%20Class.jmp%22)%3B%0A%0Agbs%20%3D%20dt%20%26lt%3B%26lt%3B%20Graph%20Builder(%0A%09Variables(X(%3Aweight)%2C%20Y(%3Aheight))%2C%0A%09Elements(Points(X%2C%20Y%2C%20Legend(9))%2C%20Line%20Of%20Fit(X%2C%20Y%2C%20Legend(11)))%2C%0A%09By(%3Asex)%0A)%3B%0A%0Agb%20%3D%20dt%20%26lt%3B%26lt%3B%20Graph%20Builder(%0A%09Variables(X(%3Aweight)%2C%20Y(%3Aheight))%2C%0A%09Elements(Points(X%2C%20Y%2C%20Legend(9))%2C%20Line%20Of%20Fit(X%2C%20Y%2C%20Legend(11)))%2C%0A%09Where(%3Asex%20%3D%3D%20%22F%22)%3B%0A)%3B%0A%0Ashow(gbs%20%26lt%3B%26lt%3B%20Get%20Data%20Table)%3B%0Ashow(gb%20%26lt%3B%26lt%3B%20Get%20Data%20Table)%3B%0A%0Ashow(gbs%20%26lt%3B%26lt%3B%20Get%20Where%20Expr)%3B%0Ashow(gb%20%26lt%3B%26lt%3B%20Get%20Where%20Expr)%3B%0A%0A%0Aprivate_tables%20%3D%20Find%20All(Data%20Tables%2C%20Private)%3B%0AShow(private_tables%20%26lt%3B%26lt%3B%20get%20name)%3B%0AShow(private_tables%20%26lt%3B%26lt%3B%20Is%20Linked%20Subset)%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Egbs%20%26lt%3B%26lt%3B%20Get%20Data%20Table%20%3D%20%7BDataTable(%22sex%3DF%22)%2C%20DataTable(%22sex%3DM%22)%7D%3B%0Agb%20%26lt%3B%26lt%3B%20Get%20Data%20Table%20%3D%20DataTable(%22Big%20Class%2C%20where%20-sex%20%3D%3D%20-F-%203%22)%3B%0Agbs%20%26lt%3B%26lt%3B%20Get%20Where%20Expr%20%3D%20%7B%3Asex%20%3D%3D%20%22F%22%2C%20%3Asex%20%3D%3D%20%22M%22%7D%3B%0Agb%20%26lt%3B%26lt%3B%20Get%20Where%20Expr%20%3D%20%3Asex%20%3D%3D%20%22F%22%3B%0Aprivate_tables%20%26lt%3B%26lt%3B%20get%20name%20%3D%20%7B%22sex%3DF%22%2C%20%22sex%3DM%22%2C%20%22Big%20Class%2C%20where%20-sex%20%3D%3D%20-F-%22%2C%20%22Big%20Class%2C%20where%20-sex%20%3D%3D%20-F-%202%22%2C%20%22Big%20Class%2C%20where%20-sex%20%3D%3D%20-F-%203%22%7D%3B%0Aprivate_tables%20%26lt%3B%26lt%3B%20Is%20Linked%20Subset%20%3D%20%7B1%2C%201%2C%201%2C%201%2C%201%7D%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar

Scripters Club Recording: JSL in Graph Builder

Video 1

Presenter @Emmanuel_Romeu 

 

Video 2

Presenter: @jthi 

 

7 REPLIES 7
jthi
Super User

Re: Scripters Club Recording: JSL in Graph Builder

Script I used

-Jarmo
jthi
Super User

Re: Scripters Club Recording: JSL in Graph Builder

Few questions from Teams chat

 

Question1:

is there an Xpath command which corresponds to 

 

Dispatch( {}, "X title", TextEditBox,

Answer1:

Easiest way to check is to use << Get XML and check if you can find "X title" from there. You can't (those "display elements" could be same as helpKey attribute but they just haven't been added to everything).

jthi_1-1726730746177.png

jthi_0-1726730734808.png

But you can build complicated XPath to get the axis text edit boxes (I think first is always X-axis).

 

GraphBuilderAxisBox <GraphBuilderComponentBox leftOffset="47" topOffset="435" width="478" height="19">
  <GraphBuilderTitleBox width="478" height="19">
	<TextEditBox leftOffset="223" topOffset="0" width="31" height="19">My X</TextEditBox>
  </GraphBuilderTitleBox>
</GraphBuilderComponentBox>
<GraphBuilderComponentBox leftOffset="47" topOffset="408" width="478" height="27">
  <GraphBuilderAxisBox width="478" height="27">
	<AxisBox width="478" height="27" charID="1000"/>
  </GraphBuilderAxisBox>
</GraphBuilderComponentBox>

 

You can base your XPath on finding GraphBuilderComponentBox + GraphBuilderAxisBox and preceding GraphBuilderComponentBox + GraphBuilderTitleBox

//GraphBuilderComponentBox[GraphBuilderAxisBox]/preceding-sibling::GraphBuilderComponentBox[1]/GraphBuilderTitleBox/TextEditBox
Names Default To Here(1); 

dt = open("$SAMPLE_DATA/Big Class.jmp");

gb = dt << Graph Builder(
	Size(525, 454),
	Show Control Panel(0),
	Variables(X(:weight), Y(:height)),
	Elements(Points(X, Y, Legend(3))),
	SendToReport(
		Dispatch({}, "X title", TextEditBox, {Set Text("My X")}),
		Dispatch({}, "Y title", TextEditBox, {Set Text("My Y")})
	)
);

nw = New Window("gbscript", << type("Script"), << Language("XML"), 
	Report(gb) << Get XML;
);

axis_title_tebs = Report(gb) << XPath("//GraphBuilderComponentBox[GraphBuilderAxisBox]/preceding-sibling::GraphBuilderComponentBox[1]/GraphBuilderTitleBox/TextEditBox");

axis_title_tebs[1] << Set Text("XXXXX");
axis_title_tebs[2] << Set Text("YYYYY");

Write();

 

Question 2:


This question is more related to Graph Builder though, not directly related to Scripts. Could you please show how to highlight or identify a sample in the Graph? And how to add a label to only one of the samples, and additionally to some specific samples.


Answer 2:

Different types of data (and JMP versions) can require different types of labeling techniques. In worst case you might have to script it but usually this isn't necessary.

 

I will go with the assumption of JMP18 and simple data. I have graph like this and I wish to label and color the highlighted point

jthi_2-1726731329895.png

Just by labeling that row and adding color row state it will get highlighted like this

jthi_3-1726731367719.png

 

 

 

 

This add-in was also mentioned Column Quick Swapper - easily change multiple Y and X-axis columns in Graph Builder 

-Jarmo
hogi
Level XII

Re: Scripters Club Recording: JSL in Graph Builder

Thanks for the answers.

I wonder why there is nothing like:

current report() << XPath("//TextEditBox[@type='X  title']")


real application case:
get the bottom Y axis title in a graph with 2 x axis labels  and 2 y axis labels

Dispatch( {}, "Y 1 title", TextEditBox,

is wonderful compared to guessing the right entry in this list:

axis_title_tebs = Report(gb) << XPath("//GraphBuilderComponentBox[GraphBuilderAxisBox]/preceding-sibling::GraphBuilderComponentBox[1]/GraphBuilderTitleBox/TextEditBox");

 

jthi
Super User

Re: Scripters Club Recording: JSL in Graph Builder

You can still make it fairly robust

Names Default To Here(1); 

dt = open("$SAMPLE_DATA/Big Class.jmp");

gb = dt << Graph Builder(
	Size(528, 448),
	Show Control Panel(0),
	Variables(X(:sex), X(:age), Y(:weight), Y(:height), Overlay(:sex)),
	Elements(Position(1, 1), Points(X, Y, Legend(24))),
	Elements(Position(1, 2), Points(X, Y, Legend(25))),
	Elements(Position(2, 1), Points(X, Y, Legend(9)), Line Of Fit(X, Y, Legend(11))),
	Elements(
		Position(2, 2),
		Points(X, Y, Legend(16)),
		Line Of Fit(X, Y, Legend(17))
	)
);

axis_title_tebs = Report(gb) << XPath("//GraphBuilderComponentBox[GraphBuilderAxisBox]/preceding-sibling::GraphBuilderComponentBox[1]/GraphBuilderTitleBox/TextEditBox");
xcount = gb << Get N Positions("X");

firstyaxis = axis_title_tebs[xcount + 1];

Show(firstyaxis << get text);

Write();

Too bad that is "Y 1 title" and not "Y title" (or maybe it should always be "Y 1 title" and we shouldn't even have just "Y title") so it will be different if you have one or multiple y-axis.

-Jarmo
hogi
Level XII

Re: Scripters Club Recording: JSL in Graph Builder

Hm ...
it's always fun to get this bonus analysis challenge "for free"

- besides the analysis you are "paid for"

 

jthi
Super User

Re: Scripters Club Recording: JSL in Graph Builder

jthi
Super User

Re: Scripters Club Recording: JSL in Graph Builder

Since JMP18 the By variables do work a bit differently and there are new options. If you feel like you are using By variables a lot, I suggest you check out Group Platform from scripting index. It for example contains "Group Platform" which might be helpful from time to time as you can control which reference you get (highest level or all platforms in a list)

jthi_0-1728628952981.png

 

There are somewhat similar considerations with Where Filter by Value Using a Where Statement (jmp.com). One such consideration might be which data table they are utilizing or which where expression

Names Default To Here(1); 

dt = open("$SAMPLE_DATA/Big Class.jmp");

gbs = dt << Graph Builder(
	Variables(X(:weight), Y(:height)),
	Elements(Points(X, Y, Legend(9)), Line Of Fit(X, Y, Legend(11))),
	By(:sex)
);

gb = dt << Graph Builder(
	Variables(X(:weight), Y(:height)),
	Elements(Points(X, Y, Legend(9)), Line Of Fit(X, Y, Legend(11))),
	Where(:sex == "F");
);

show(gbs << Get Data Table);
show(gb << Get Data Table);

show(gbs << Get Where Expr);
show(gb << Get Where Expr);


private_tables = Find All(Data Tables, Private);
Show(private_tables << get name);
Show(private_tables << Is Linked Subset);
gbs << Get Data Table = {DataTable("sex=F"), DataTable("sex=M")};
gb << Get Data Table = DataTable("Big Class, where -sex == -F- 3");
gbs << Get Where Expr = {:sex == "F", :sex == "M"};
gb << Get Where Expr = :sex == "F";
private_tables << get name = {"sex=F", "sex=M", "Big Class, where -sex == -F-", "Big Class, where -sex == -F- 2", "Big Class, where -sex == -F- 3"};
private_tables << Is Linked Subset = {1, 1, 1, 1, 1};

 

 

-Jarmo