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-798220%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%E5%9B%BE%E5%BD%A2%E7%94%9F%E6%88%90%E5%99%A8%E4%B8%AD%E7%9A%84%E9%A1%B5%E9%9D%A2%E9%80%89%E9%A1%B9%E5%9C%A8%E6%AF%8F%E4%B8%80%E9%A1%B5%E4%B8%8A%E8%AE%BE%E7%BD%AE%E5%8F%82%E8%80%83%E7%BA%BF%EF%BC%9F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798220%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BB%A5%E4%B8%8B%E8%84%9A%E6%9C%AC%E4%BD%BF%E7%94%A8%E5%9B%BE%E5%BD%A2%E7%94%9F%E6%88%90%E5%99%A8%E4%B8%AD%E7%9A%84%E9%A1%B5%E9%9D%A2%E9%80%89%E9%A1%B9%E7%BB%98%E5%88%B6%E4%BA%86%E4%B8%80%E4%BA%9B%E5%9B%BE%E8%A1%A8%EF%BC%9F%E5%A6%82%E4%BD%95%E4%B8%BA%E6%AF%8F%E4%B8%AA%E5%9B%BE%E8%A1%A8%E8%AE%BE%E7%BD%AE%E4%B8%80%E6%9D%A1%E6%B0%B4%E5%B9%B3%E5%8F%82%E8%80%83%E7%BA%BF%EF%BC%8C%E4%BE%8B%E5%A6%82%E9%87%8D%E9%87%8F%20%3D%2080Kg%EF%BC%8C%E5%B9%B6%E4%BD%BF%E7%94%A8%20JSL%20%E5%B0%86%E5%85%B6%E6%A0%87%E8%AE%B0%E4%B8%BA%20(80kg)%EF%BC%9F%3C%2FP%3E%3CP%3E%EF%BC%88%E5%8D%B3%E4%BD%BF%E7%BB%98%E5%88%B6%E7%9A%84%E5%9B%BE%E8%A1%A8%E6%95%B0%E9%87%8F%E5%8F%91%E7%94%9F%E5%8F%98%E5%8C%96%EF%BC%8C%E6%88%91%E4%B9%9F%E9%9C%80%E8%A6%81%E5%8F%82%E8%80%83%E7%BA%BF%E4%BF%9D%E6%8C%81%E4%B8%8D%E5%8F%98%EF%BC%89%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(1)%3B%20%0Adt%20%3D%20open(%22%24SAMPLE_DATA%2FBig%20Class.jmp%22)%3B%0Agb%20%3D%20dt%20%26lt%3B%26lt%3B%20Graph%20Builder(%0A%09Size(528%2C%202954)%2C%0A%09Show%20Control%20Panel(0)%2C%0A%09Variables(X(%3Aheight)%2C%20Y(%3Aweight)%2C%20Page(%3Aage))%2C%0A%09Elements(Points(X%2C%20Y%2C%20Legend(15))%2C%20Smoother(X%2C%20Y%2C%20Legend(16)))%0A)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-798220%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3E%E8%87%AA%E5%8A%A8%E5%8C%96%E5%92%8C%E8%84%9A%E6%9C%AC%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3E%E8%A7%86%E7%AA%97%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-798279%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%E5%9B%BE%E5%BD%A2%E7%94%9F%E6%88%90%E5%99%A8%E4%B8%AD%E7%9A%84%E9%A1%B5%E9%9D%A2%E9%80%89%E9%A1%B9%E5%9C%A8%E6%AF%8F%E4%B8%80%E9%A1%B5%E4%B8%8A%E8%AE%BE%E7%BD%AE%E5%8F%82%E8%80%83%E7%BA%BF%EF%BC%9F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798279%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(1)%3B%20%0Adt%20%3D%20open(%22%24SAMPLE_DATA%2FBig%20Class.jmp%22)%3B%0Agb%20%3D%20dt%20%26lt%3B%26lt%3B%20Graph%20Builder(%0A%09Size(528%2C%202954)%2C%0A%09Show%20Control%20Panel(0)%2C%0A%09Variables(X(%3Aheight)%2C%20Y(%3Aweight)%2C%20Page(%3Aage))%2C%0A%09Elements(Points(X%2C%20Y%2C%20Legend(15))%2C%20Smoother(X%2C%20Y%2C%20Legend(16)))%0A)%3B%0A%0Aaxis%20%3D%20gb%20%26lt%3B%26lt%3B%20XPath(%20%22%2F%2FAxisBox%22%20)%3B%0ASummarize(%20page%20%3D%20By(%20%3Aage%20)%20)%3B%0Aaxis%5B2%3A%3A(2*NItems(%20page%20))%3A%3A2%5D%20%26lt%3B%26lt%3B%20Add%20Ref%20Line(%2080%2C%20%22Solid%22%2C%20%22Red%22%2C%20%22Reference%22%20)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-798292%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%E5%9B%BE%E5%BD%A2%E7%94%9F%E6%88%90%E5%99%A8%E4%B8%AD%E7%9A%84%E9%A1%B5%E9%9D%A2%E9%80%89%E9%A1%B9%E5%9C%A8%E6%AF%8F%E4%B8%80%E9%A1%B5%E4%B8%8A%E8%AE%BE%E7%BD%AE%E5%8F%82%E8%80%83%E7%BA%BF%EF%BC%9F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798292%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%A6%82%E6%9E%9C%E6%88%91%E5%9C%A8%E7%BB%98%E5%9B%BE%E5%90%8E%E8%B0%83%E7%94%A8%20Age%20%E4%B8%8A%E7%9A%84%E6%9C%AC%E5%9C%B0%E6%95%B0%E6%8D%AE%E8%BF%87%E6%BB%A4%E5%99%A8%EF%BC%8C%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F5358%22%20target%3D%22_blank%22%3E%40Mark_Bailey%3C%2FA%3E%E5%B0%86%E5%81%9C%E6%AD%A2%E4%B8%BA%E6%88%91%E5%B7%A5%E4%BD%9C%EF%BC%88JMP%2016.2%EF%BC%89%EF%BC%8C%E5%A6%82%E4%B8%8B%E6%89%80%E7%A4%BA%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Neo_0-1726153593695.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Neo_0-1726153593695.png%22%20style%3D%22width%3A%20377px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Neo_0-1726153593695.png%22%20style%3D%22width%3A%20377px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Neo_0-1726153593695.png%22%20style%3D%22width%3A%20377px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Neo_0-1726153593695.png%22%20style%3D%22width%3A%20377px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Neo_0-1726153593695.png%22%20style%3D%22width%3A%20377px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Neo_0-1726153593695.png%22%20style%3D%22width%3A%20377px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Neo_0-1726153593695.png%22%20style%3D%22width%3A%20377px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Neo_0-1726153593695.png%22%20style%3D%22width%3A%20377px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Neo_0-1726153593695.png%22%20style%3D%22width%3A%20377px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Neo_0-1726153593695.png%22%20style%3D%22width%3A%20377px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Neo_0-1726153593695.png%22%20style%3D%22width%3A%20377px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F68176iED5C69D0BDD3CDFF%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Neo_0-1726153593695.png%22%20alt%3D%22Neo_0-1726153593695.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%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-798309%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%E5%9B%BE%E5%BD%A2%E7%94%9F%E6%88%90%E5%99%A8%E4%B8%AD%E7%9A%84%E9%A1%B5%E9%9D%A2%E9%80%89%E9%A1%B9%E5%9C%A8%E6%AF%8F%E4%B8%80%E9%A1%B5%E4%B8%8A%E8%AE%BE%E7%BD%AE%E5%8F%82%E8%80%83%E7%BA%BF%EF%BC%9F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798309%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%9C%80%E7%AE%80%E5%8D%95%E7%9A%84%E6%96%B9%E6%B3%95%E6%98%AF%E5%90%91%E6%95%B0%E6%8D%AE%E8%A1%A8%E6%B7%BB%E5%8A%A0%E6%96%B0%E5%88%97%EF%BC%8C%E6%AF%8F%E8%A1%8C%E7%9A%84%E5%80%BC%E7%9B%B8%E5%90%8C%EF%BC%8C%E7%84%B6%E5%90%8E%E5%B0%86%E5%85%B6%E6%B7%BB%E5%8A%A0%E5%88%B0%E5%9B%BE%E8%A1%A8%E4%B8%AD%E3%80%82%E8%BF%99%E5%B0%86%E4%B8%8E%E8%BF%87%E6%BB%A4%E5%99%A8%E4%B8%80%E8%B5%B7%E4%BD%BF%E7%94%A8%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-798334%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%E5%9B%BE%E5%BD%A2%E7%94%9F%E6%88%90%E5%99%A8%E4%B8%AD%E7%9A%84%E9%A1%B5%E9%9D%A2%E9%80%89%E9%A1%B9%E5%9C%A8%E6%AF%8F%E4%B8%80%E9%A1%B5%E4%B8%8A%E8%AE%BE%E7%BD%AE%E5%8F%82%E8%80%83%E7%BA%BF%EF%BC%9F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798334%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CP%3E%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%E6%82%A8%E7%9A%84%E5%BB%BA%E8%AE%AE%E5%BE%88%E5%A5%BD%EF%BC%8C%E4%BD%86%E6%88%91%E5%B8%8C%E6%9C%9B%E7%BA%BF%E6%9D%A1%E6%A0%87%E7%AD%BE%E4%BD%8D%E4%BA%8E%E5%8F%B3%E4%BE%A7%E3%80%82%E6%9C%89%E6%B2%A1%E6%9C%89%E5%8A%9E%E6%B3%95%E6%9B%B4%E6%94%B9%E7%BA%BF%E6%9D%A1%E6%A0%87%E7%AD%BE%E7%9A%84%E4%BD%8D%E7%BD%AE%EF%BC%9F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-798387%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%E5%9B%BE%E5%BD%A2%E7%94%9F%E6%88%90%E5%99%A8%E4%B8%AD%E7%9A%84%E9%A1%B5%E9%9D%A2%E9%80%89%E9%A1%B9%E5%9C%A8%E6%AF%8F%E4%B8%80%E9%A1%B5%E4%B8%8A%E8%AE%BE%E7%BD%AE%E5%8F%82%E8%80%83%E7%BA%BF%EF%BC%9F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798387%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%91%E4%B8%8D%E8%AE%B0%E5%BE%97%20JMP16%20%E4%B8%AD%E6%9C%89%E5%93%AA%E4%BA%9B%E9%80%89%E9%A1%B9%E5%8F%AF%E7%94%A8%EF%BC%8C%E5%9B%A0%E4%B8%BA%E6%88%91%E7%8E%B0%E5%9C%A8%E4%B8%BB%E8%A6%81%E4%BD%BF%E7%94%A8%20JMP18%EF%BC%88%E6%B7%B7%E5%90%88%E4%BD%BF%E7%94%A8%E4%B8%80%E4%BA%9B%20JMP17%EF%BC%89%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(1)%3B%0Adt%20%3D%20Open(%22%24SAMPLE_DATA%2FBig%20Class.jmp%22)%3B%0A%0Adt%20%26lt%3B%26lt%3B%20New%20Column(%22Ref%22%2C%20Numeric%2C%20Continuous%2C%20Set%20Each%20Value(80))%3B%0A%0Agb%20%3D%20dt%20%26lt%3B%26lt%3B%20Graph%20Builder(%0A%09Size(528%2C%20984)%2C%0A%09Show%20Control%20Panel(0)%2C%0A%09Variables(X(%3Aheight)%2C%20Y(%3Aweight)%2C%20Y(%3ARef%2C%20Position(1))%2C%20Page(%3Aage))%2C%0A%09Elements(%0A%09%09Points(X%2C%20Y(1)%2C%20Legend(15))%2C%0A%09%09Smoother(X%2C%20Y(1)%2C%20Legend(16))%2C%0A%09%09Line(Y(2)%2C%20Legend(17))%0A%09)%2C%0A%09Local%20Data%20Filter(%0A%09%09Add%20Filter(%0A%09%09%09columns(%3Aage)%2C%0A%09%09%09Where(%3Aage%20%3D%3D%20%7B12%2C%2015%7D)%2C%0A%09%09%09Display(%3Aage%2C%20N%20Items(6))%0A%09%09)%0A%09)%2C%0A%09SendToReport(%0A%09%09Dispatch(%7B%7D%2C%20%22400%22%2C%20ScaleBox%2C%0A%09%09%09%7BLegend%20Model(%0A%09%09%09%0917%2C%0A%09%09%09%09Level%20Name(0%2C%20%22Ref%22%2C%20Item%20ID(%22Mean(Ref)%22%2C%201))%2C%0A%09%09%09%09Properties(%0A%09%09%09%09%090%2C%0A%09%09%09%09%09%7BLine%20Label%20Properties(%0A%09%09%09%09%09%09%7BName%20Label(1)%2C%20Name%20Label%20Position(%22Last%22)%7D%0A%09%09%09%09%09)%7D%2C%0A%09%09%09%09%09Item%20ID(%22Mean(Ref)%22%2C%201)%0A%09%09%09%09)%0A%09%09%09)%7D%0A%09%09)%0A%09)%0A)%3B%0A%0AWrite()%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22jthi_0-1726163173773.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1726163173773.png%22%20style%3D%22width%3A%20308px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1726163173773.png%22%20style%3D%22width%3A%20308px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1726163173773.png%22%20style%3D%22width%3A%20308px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1726163173773.png%22%20style%3D%22width%3A%20308px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1726163173773.png%22%20style%3D%22width%3A%20308px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1726163173773.png%22%20style%3D%22width%3A%20308px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1726163173773.png%22%20style%3D%22width%3A%20308px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F68199iD9B8CBB7FFD4B401%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22jthi_0-1726163173773.png%22%20alt%3D%22jthi_0-1726163173773.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%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-798413%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%E5%9B%BE%E5%BD%A2%E7%94%9F%E6%88%90%E5%99%A8%E4%B8%AD%E7%9A%84%E9%A1%B5%E9%9D%A2%E9%80%89%E9%A1%B9%E5%9C%A8%E6%AF%8F%E4%B8%80%E9%A1%B5%E4%B8%8A%E8%AE%BE%E7%BD%AE%E5%8F%82%E8%80%83%E7%BA%BF%EF%BC%9F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798413%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CP%3E%E4%B8%8D%E9%9C%80%E8%A6%81%E6%94%B9%E5%8F%98%E6%95%B0%E6%8D%AE%E8%A1%A8%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E9%80%9A%E8%BF%87%E5%A4%8D%E5%88%B6%E8%BD%B4%E8%AE%BE%E7%BD%AE%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ELink%20Page%20Axes(%20%22Y%20Only%22%20)%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%E4%B9%9F%E5%A4%8D%E5%88%B6%E5%8F%82%E8%80%83%E7%BA%BF%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%E4%BE%8B%E5%A6%82%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Edt%20%3D%20Open(%20%22%24SAMPLE_DATA%2FBig%20Class.jmp%22%20)%3B%0AGraph%20Builder(%0A%09Link%20Page%20Axes(%20%22Y%20Only%22%20)%2C%0A%09Variables(%20X(%20%3Aheight%20)%2C%20Y(%20%3Aweight%20)%2C%20Page(%20%3Asex%20)%2C%20Overlay(%20%3Asex%20)%20)%2C%0A%09Elements(%20Points(%20X%2C%20Y)%2C%20Smoother(%20X%2C%20Y)%20)%2C%0A%09SendToReport(%0A%09%09Dispatch(%20%7B%7D%2C%20%22weight%22%2C%20ScaleBox%2C%0A%09%09%09%7BAdd%20Ref%20Line(%20100%2C%20%22Solid%22%2C%20%22Black%22%2C%20%22%22%2C%201%20)%7D%0A%09%09)%0A%09)%0A)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22hogi_0-1726169228867.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_0-1726169228867.png%22%20style%3D%22width%3A%20359px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_0-1726169228867.png%22%20style%3D%22width%3A%20359px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_0-1726169228867.png%22%20style%3D%22width%3A%20359px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_0-1726169228867.png%22%20style%3D%22width%3A%20359px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hogi_0-1726169228867.png%22%20style%3D%22width%3A%20359px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F68203i22C1654EAA13438D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22hogi_0-1726169228867.png%22%20alt%3D%22hogi_0-1726169228867.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-798461%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%E5%9B%BE%E5%BD%A2%E7%94%9F%E6%88%90%E5%99%A8%E4%B8%AD%E7%9A%84%E9%A1%B5%E9%9D%A2%E9%80%89%E9%A1%B9%E5%9C%A8%E6%AF%8F%E4%B8%80%E9%A1%B5%E4%B8%8A%E8%AE%BE%E7%BD%AE%E5%8F%82%E8%80%83%E7%BA%BF%EF%BC%9F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798461%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E8%BF%99%E4%B9%9F%E6%98%AF%E4%B8%80%E7%A7%8D%E9%80%89%E6%8B%A9%EF%BC%8C%E4%BD%86%E6%82%A8%E7%A1%AE%E5%AE%9E%E4%BC%9A%E5%A4%B1%E5%8E%BB%20Page%20%E7%9A%84%E4%B8%80%E4%B8%AA%E5%A5%BD%E5%A4%84%EF%BC%9A%E4%B8%8D%E5%90%8C%E7%9A%84%E2%80%9C%E9%A1%B5%E9%9D%A2%E2%80%9D%E5%85%B7%E6%9C%89%E4%B8%8D%E5%90%8C%E7%9A%84%E8%BD%B4%E7%BC%A9%E6%94%BE%E6%AF%94%E4%BE%8B%E3%80%82%E8%BF%99%E5%8F%AF%E8%83%BD%E4%B8%8D%E6%98%AF%E9%97%AE%E9%A2%98%EF%BC%8C%E7%94%9A%E8%87%B3%E5%8F%AF%E8%83%BD%E6%98%AF%E4%B8%80%E7%A7%8D%E5%A5%BD%E5%A4%84%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-798517%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%E5%9B%BE%E5%BD%A2%E7%94%9F%E6%88%90%E5%99%A8%E4%B8%AD%E7%9A%84%E9%A1%B5%E9%9D%A2%E9%80%89%E9%A1%B9%E5%9C%A8%E6%AF%8F%E4%B8%80%E9%A1%B5%E4%B8%8A%E8%AE%BE%E7%BD%AE%E5%8F%82%E8%80%83%E7%BA%BF%EF%BC%9F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798517%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%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%E8%B0%A2%E8%B0%A2%E3%80%82%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EName%20Label%20Position(%22Last%22)%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%E5%9C%A8%20JMP%2016.2%20%E4%B8%AD%E4%BC%BC%E4%B9%8E%E4%B8%8D%E5%8F%AF%E7%94%A8%2F%E4%B8%8D%E8%B5%B7%E4%BD%9C%E7%94%A8%E3%80%82%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F26800%22%20target%3D%22_blank%22%3E%40hogi%3C%2FA%3E%E6%88%91%E9%80%89%E6%8B%A9%E9%A1%B5%E9%9D%A2%E9%80%89%E9%A1%B9%E7%9A%84%E5%8E%9F%E5%9B%A0%E6%98%AF%E4%B8%BA%E4%BA%86%E8%8E%B7%E5%BE%97%E4%B8%8D%E5%90%8C%E7%9A%84%20y%20%E8%BD%B4%E7%BC%A9%E6%94%BE%E6%AF%94%E4%BE%8B%E3%80%82%E6%88%91%E7%9B%B8%E4%BF%A1%E8%BF%98%E6%9C%89%E5%85%B6%E4%BB%96%E6%96%B9%E6%B3%95%E5%8F%AF%E4%BB%A5%E5%81%9A%E5%88%B0%E8%BF%99%E4%B8%80%E7%82%B9%EF%BC%8C%E4%BD%86%E9%A1%B5%E9%9D%A2%E9%80%89%E9%A1%B9%E4%BC%BC%E4%B9%8E%E6%9C%80%E7%AE%80%E5%8D%95%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-798526%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%E5%9B%BE%E5%BD%A2%E7%94%9F%E6%88%90%E5%99%A8%E4%B8%AD%E7%9A%84%E9%A1%B5%E9%9D%A2%E9%80%89%E9%A1%B9%E5%9C%A8%E6%AF%8F%E4%B8%80%E9%A1%B5%E4%B8%8A%E8%AE%BE%E7%BD%AE%E5%8F%82%E8%80%83%E7%BA%BF%EF%BC%9F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798526%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E7%84%B6%E5%90%8E%E4%BD%A0%E5%8F%AF%E8%83%BD%E4%B8%8D%E5%BE%97%E4%B8%8D%E5%9B%9E%E5%88%B0%20Mark%20%E7%9A%84%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88%E5%B9%B6%E4%BD%BF%E7%94%A8%E8%BF%87%E6%BB%A4%E5%99%A8%E6%9B%B4%E6%94%B9%E5%A4%84%E7%90%86%E7%A8%8B%E5%BA%8F%E3%80%82%E5%90%8C%E6%A0%B7%E4%B8%8D%E7%9F%A5%E9%81%93%20JMP16%20%E4%BD%BF%E7%94%A8%E6%AD%A4%E9%80%89%E9%A1%B9%E6%9C%89%E4%BB%80%E4%B9%88%E9%99%90%E5%88%B6%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(1)%3B%0Adt%20%3D%20Open(%22%24SAMPLE_DATA%2FBig%20Class.jmp%22)%3B%0A%0A%0Agb%20%3D%20dt%20%26lt%3B%26lt%3B%20Graph%20Builder(%0A%09Size(528%2C%20984)%2C%0A%09Show%20Control%20Panel(0)%2C%0A%09Variables(X(%3Aheight)%2C%20Y(%3Aweight)%2C%20Page(%3Aage))%2C%0A%09Elements(%0A%09%09Points(X%2C%20Y(1)%2C%20Legend(15))%2C%0A%09%09Smoother(X%2C%20Y(1)%2C%20Legend(16))%0A%09)%2C%0A%09Local%20Data%20Filter(%0A%09%09Add%20Filter(%0A%09%09%09columns(%3Aage)%2C%0A%09%09%09Where(%3Aage%20%3D%3D%20%7B12%2C%2015%7D)%2C%0A%09%09%09Display(%3Aage%2C%20N%20Items(6))%0A%09%09)%0A%09)%0A)%3B%0A%0Aadd_reflines%20%3D%20EvalExpr(%0A%09axis%20%3D%20Expr(gb)%20%26lt%3B%26lt%3B%20XPath(%22%2F%2FAxisBox%22)%3B%0A%09axis%5B2%3A%3AN%20Items(axis)%3A%3A2%5D%20%26lt%3B%26lt%3B%20Add%20Ref%20Line(80%2C%20%22Solid%22%2C%20%22Red%22%2C%20%22Reference%22%2C%201%2C%201%2C%20Label%20Settings(%7BOpposite%20Axis(1)%7D))%3B%0A)%3B%0A%0Af%20%3D%20Function(%7Ba%7D%2C%20add_reflines)%3B%0A%0Aldf%20%3D%20(Report(gb)%20%26lt%3B%26lt%3B%20top%20parent)%5BOutlineBox(%22Local%20Data%20Filter%22)%5D%20%26lt%3B%26lt%3B%20Get%20Scriptable%20Object%3B%0A%0Ars%20%3D%20ldf%20%26lt%3B%26lt%3B%20Make%20Filter%20Change%20Handler(f)%3B%0A%0Aadd_reflines%3B%0AWrite()%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%E8%BF%99%E4%B8%8D%E6%98%AF%E6%9C%80%E5%BC%BA%E5%A4%A7%E7%9A%84%E9%80%89%E9%A1%B9%EF%BC%8C%E4%BD%86%E5%AE%83%E7%9B%B8%E5%BD%93%E7%AE%80%E5%8D%95%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-798527%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%E5%9B%BE%E5%BD%A2%E7%94%9F%E6%88%90%E5%99%A8%E4%B8%AD%E7%9A%84%E9%A1%B5%E9%9D%A2%E9%80%89%E9%A1%B9%E5%9C%A8%E6%AF%8F%E4%B8%80%E9%A1%B5%E4%B8%8A%E8%AE%BE%E7%BD%AE%E5%8F%82%E8%80%83%E7%BA%BF%EF%BC%9F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798527%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%9B%BE%E5%BD%A2%E8%84%9A%E6%9C%AC%E5%8F%AF%E8%83%BD%E6%98%AF%E4%B8%80%E7%A7%8D%E9%80%89%E6%8B%A9%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(1)%3B%0Adt%20%3D%20Open(%22%24SAMPLE_DATA%2FBig%20Class.jmp%22)%3B%0A%0A%0Agb%20%3D%20dt%20%26lt%3B%26lt%3B%20Graph%20Builder(%0A%09Size(528%2C%20984)%2C%0A%09Show%20Control%20Panel(0)%2C%0A%09Variables(X(%3Aheight)%2C%20Y(%3Aweight)%2C%20Page(%3Aage))%2C%0A%09Elements(%0A%09%09Points(X%2C%20Y(1)%2C%20Legend(15))%2C%0A%09%09Smoother(X%2C%20Y(1)%2C%20Legend(16))%0A%09)%0A)%3B%0A%0A(Report(gb)%20%26lt%3B%26lt%3B%20XPath(%22%2F%2FFrameBox%22))%20%26lt%3B%26lt%3B%20Add%20Graphics%20Script(%0A%09Pen%20Color(%22Red%22)%3B%0A%09Text%20Color(%22red%22)%3B%0A%09Text(Right%20Justified%2C%20%7BX%20Origin()%20%2B%20X%20Range()%2C%2080%7D%2C%20%22Reference%22)%3B%0A%09H%20Line(80)%3B%0A)%3B%0A%0A%0Agb%20%26lt%3B%26lt%3B%20Local%20Data%20Filter(%0A%09Add%20Filter(%0A%09%09columns(%3Aage)%2C%0A%09%09Display(%3Aage%2C%20N%20Items(6))%0A%09)%0A)%3B%0A%0AWrite()%3B%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
Neo
Neo
Level VI

How to set a Reference Line on each page with Page option in Graph Builder?

The following script plots some charts with the page option in graph builder? How to I set a horizontal reference line, for each chart, say at Weight = 80Kg and label it (80kg) using JSL?

(I need the reference line to remain even if there is a change in the number of charts plotted)

Names Default To Here(1); 
dt = open("$SAMPLE_DATA/Big Class.jmp");
gb = dt << Graph Builder(
	Size(528, 2954),
	Show Control Panel(0),
	Variables(X(:height), Y(:weight), Page(:age)),
	Elements(Points(X, Y, Legend(15)), Smoother(X, Y, Legend(16)))
);
When it's too good to be true, it's neither
1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: How to set a Reference Line on each page with Page option in Graph Builder?

And graphic script might be an option

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");


gb = dt << Graph Builder(
	Size(528, 984),
	Show Control Panel(0),
	Variables(X(:height), Y(:weight), Page(:age)),
	Elements(
		Points(X, Y(1), Legend(15)),
		Smoother(X, Y(1), Legend(16))
	)
);

(Report(gb) << XPath("//FrameBox")) << Add Graphics Script(
	Pen Color("Red");
	Text Color("red");
	Text(Right Justified, {X Origin() + X Range(), 80}, "Reference");
	H Line(80);
);


gb << Local Data Filter(
	Add Filter(
		columns(:age),
		Display(:age, N Items(6))
	)
);

Write();
-Jarmo

View solution in original post

10 REPLIES 10

Re: How to set a Reference Line on each page with Page option in Graph Builder?

Names Default To Here(1); 
dt = open("$SAMPLE_DATA/Big Class.jmp");
gb = dt << Graph Builder(
	Size(528, 2954),
	Show Control Panel(0),
	Variables(X(:height), Y(:weight), Page(:age)),
	Elements(Points(X, Y, Legend(15)), Smoother(X, Y, Legend(16)))
);

axis = gb << XPath( "//AxisBox" );
Summarize( page = By( :age ) );
axis[2::(2*NItems( page ))::2] << Add Ref Line( 80, "Solid", "Red", "Reference" );
Neo
Neo
Level VI

Re: How to set a Reference Line on each page with Page option in Graph Builder?

@Mark_Bailey  Stops working for me (JMP 16.2) if I invoke Local Data Filter on Age after plotting, as below

Neo_0-1726153593695.png

 

When it's too good to be true, it's neither
jthi
Super User

Re: How to set a Reference Line on each page with Page option in Graph Builder?

Easiest way is to add new column to your data table with same value for each of the rows and add that to your graph. This will work with filters

-Jarmo
Neo
Neo
Level VI

Re: How to set a Reference Line on each page with Page option in Graph Builder?

@jthi your suggestion works fine, except that I would like the line label to be on the right. Is there a way to change the location of the line label?

When it's too good to be true, it's neither
jthi
Super User

Re: How to set a Reference Line on each page with Page option in Graph Builder?

I don't remember which options are available in JMP16 as I'm mostly using JMP18 nowadays (with some JMP17 mixed in)

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");

dt << New Column("Ref", Numeric, Continuous, Set Each Value(80));

gb = dt << Graph Builder(
	Size(528, 984),
	Show Control Panel(0),
	Variables(X(:height), Y(:weight), Y(:Ref, Position(1)), Page(:age)),
	Elements(
		Points(X, Y(1), Legend(15)),
		Smoother(X, Y(1), Legend(16)),
		Line(Y(2), Legend(17))
	),
	Local Data Filter(
		Add Filter(
			columns(:age),
			Where(:age == {12, 15}),
			Display(:age, N Items(6))
		)
	),
	SendToReport(
		Dispatch({}, "400", ScaleBox,
			{Legend Model(
				17,
				Level Name(0, "Ref", Item ID("Mean(Ref)", 1)),
				Properties(
					0,
					{Line Label Properties(
						{Name Label(1), Name Label Position("Last")}
					)},
					Item ID("Mean(Ref)", 1)
				)
			)}
		)
	)
);

Write();

jthi_0-1726163173773.png

 

-Jarmo
hogi
Level XII

Re: How to set a Reference Line on each page with Page option in Graph Builder?

No need to change the data table.

Replicating the axis setting via

Link Page Axes( "Y Only" )

copies the reference lines as well.

e.g.

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Graph Builder(
	Link Page Axes( "Y Only" ),
	Variables( X( :height ), Y( :weight ), Page( :sex ), Overlay( :sex ) ),
	Elements( Points( X, Y), Smoother( X, Y) ),
	SendToReport(
		Dispatch( {}, "weight", ScaleBox,
			{Add Ref Line( 100, "Solid", "Black", "", 1 )}
		)
	)
);

 

hogi_0-1726169228867.png

 

 

jthi
Super User

Re: How to set a Reference Line on each page with Page option in Graph Builder?

That is also an option, but you do lose one of the benefits of Page: having different axis scaling for different "pages". It might not be an issue here and might be even a benefit.

-Jarmo
Neo
Neo
Level VI

Re: How to set a Reference Line on each page with Page option in Graph Builder?

@jthi Thanks.

Name Label Position("Last")

does not seem to be available/ working in JMP 16.2.

@hogi Reason for me choosing the Page option is so that I can get different y-axis scaling. I am sure there are other ways of doing this, but Page option seems easiest.

When it's too good to be true, it's neither
jthi
Super User

Re: How to set a Reference Line on each page with Page option in Graph Builder?

Then you might have to go back to Mark's solution and use filter change handler with it. Again no idea what are the limitations of JMP16 with this option

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");


gb = dt << Graph Builder(
	Size(528, 984),
	Show Control Panel(0),
	Variables(X(:height), Y(:weight), Page(:age)),
	Elements(
		Points(X, Y(1), Legend(15)),
		Smoother(X, Y(1), Legend(16))
	),
	Local Data Filter(
		Add Filter(
			columns(:age),
			Where(:age == {12, 15}),
			Display(:age, N Items(6))
		)
	)
);

add_reflines = EvalExpr(
	axis = Expr(gb) << XPath("//AxisBox");
	axis[2::N Items(axis)::2] << Add Ref Line(80, "Solid", "Red", "Reference", 1, 1, Label Settings({Opposite Axis(1)}));
);

f = Function({a}, add_reflines);

ldf = (Report(gb) << top parent)[OutlineBox("Local Data Filter")] << Get Scriptable Object;

rs = ldf << Make Filter Change Handler(f);

add_reflines;
Write();

This isn't the most robust option to do this, but it is fairly simple one.

-Jarmo