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%3EComment%20d%C3%A9finir%20une%20ligne%20de%20r%C3%A9f%C3%A9rence%20sur%20chaque%20page%20avec%20l'option%20Page%20dans%20Graph%20Builder%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798220%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ELe%20script%20suivant%20trace%20des%20graphiques%20avec%20l'option%20page%20dans%20le%20g%C3%A9n%C3%A9rateur%20de%20graphiques%26nbsp%3B%3F%20Comment%20d%C3%A9finir%20une%20ligne%20de%20r%C3%A9f%C3%A9rence%20horizontale%2C%20pour%20chaque%20graphique%2C%20par%20exemple%20%C3%A0%20Poids%26nbsp%3B%3D%26nbsp%3B80%26nbsp%3Bkg%20et%20l'%C3%A9tiqueter%20(80%26nbsp%3Bkg)%20%C3%A0%20l'aide%20de%20JSL%26nbsp%3B%3F%3C%2FP%3E%3CP%3E(J'ai%20besoin%20que%20la%20ligne%20de%20r%C3%A9f%C3%A9rence%20reste%20m%C3%AAme%20s'il%20y%20a%20un%20changement%20dans%20le%20nombre%20de%20graphiques%20trac%C3%A9s)%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%3EAutomatisation%20et%20scripts%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFen%C3%AAtres%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%3ERe%20%3A%20Comment%20d%C3%A9finir%20une%20ligne%20de%20r%C3%A9f%C3%A9rence%20sur%20chaque%20page%20avec%20l'option%20Page%20dans%20Graph%20Builder%20%3F%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%3ERe%20%3A%20Comment%20d%C3%A9finir%20une%20ligne%20de%20r%C3%A9f%C3%A9rence%20sur%20chaque%20page%20avec%20l'option%20Page%20dans%20Graph%20Builder%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798292%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%2F5358%22%20target%3D%22_blank%22%3E%40Mark_Bailey%3C%2FA%3E%20Cela%20cesse%20de%20fonctionner%20pour%20moi%20(JMP%2016.2)%20si%20j'invoque%20le%20filtre%20de%20donn%C3%A9es%20local%20sur%20l'%C3%A2ge%20apr%C3%A8s%20le%20tra%C3%A7age%2C%20comme%20ci-dessous%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%3ERe%20%3A%20Comment%20d%C3%A9finir%20une%20ligne%20de%20r%C3%A9f%C3%A9rence%20sur%20chaque%20page%20avec%20l'option%20Page%20dans%20Graph%20Builder%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798309%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ELe%20moyen%20le%20plus%20simple%20est%20d'ajouter%20une%20nouvelle%20colonne%20%C3%A0%20votre%20tableau%20de%20donn%C3%A9es%20avec%20la%20m%C3%AAme%20valeur%20pour%20chacune%20des%20lignes%20et%20de%20l'ajouter%20%C3%A0%20votre%20graphique.%20Cela%20fonctionnera%20avec%20les%20filtres%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-798334%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3ERe%20%3A%20Comment%20d%C3%A9finir%20une%20ligne%20de%20r%C3%A9f%C3%A9rence%20sur%20chaque%20page%20avec%20l'option%20Page%20dans%20Graph%20Builder%20%3F%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%20votre%20suggestion%20fonctionne%20bien%2C%20sauf%20que%20j'aimerais%20que%20le%20libell%C3%A9%20de%20la%20ligne%20soit%20%C3%A0%20droite.%20Existe-t-il%20un%20moyen%20de%20modifier%20l'emplacement%20du%20libell%C3%A9%20de%20la%20ligne%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-798387%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%20%3A%20Comment%20d%C3%A9finir%20une%20ligne%20de%20r%C3%A9f%C3%A9rence%20sur%20chaque%20page%20avec%20l'option%20Page%20dans%20Graph%20Builder%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798387%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EJe%20ne%20me%20souviens%20pas%20des%20options%20disponibles%20dans%20JMP16%20car%20j'utilise%20principalement%20JMP18%20de%20nos%20jours%20(avec%20un%20peu%20de%20JMP17%20m%C3%A9lang%C3%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%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%3ERe%20%3A%20Comment%20d%C3%A9finir%20une%20ligne%20de%20r%C3%A9f%C3%A9rence%20sur%20chaque%20page%20avec%20l'option%20Page%20dans%20Graph%20Builder%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798413%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CP%3EPas%20besoin%20de%20modifier%20le%20tableau%20de%20donn%C3%A9es.%3CBR%20%2F%3E%3CBR%20%2F%3E%20R%C3%A9plication%20du%20r%C3%A9glage%20de%20l'axe%20via%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%3Ecopie%20%C3%A9galement%20les%20lignes%20de%20r%C3%A9f%C3%A9rence.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3Epar%20exemple%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%3ERe%20%3A%20Comment%20d%C3%A9finir%20une%20ligne%20de%20r%C3%A9f%C3%A9rence%20sur%20chaque%20page%20avec%20l'option%20Page%20dans%20Graph%20Builder%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798461%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EC'est%20%C3%A9galement%20une%20option%2C%20mais%20vous%20perdez%20l'un%20des%20avantages%20de%20Page%20%3A%20avoir%20une%20mise%20%C3%A0%20l'%C3%A9chelle%20d'axe%20diff%C3%A9rente%20pour%20diff%C3%A9rentes%20%C2%AB%20pages%20%C2%BB.%20Cela%20ne%20pose%20peut-%C3%AAtre%20pas%20de%20probl%C3%A8me%20ici%20et%20pourrait%20m%C3%AAme%20constituer%20un%20avantage.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-798517%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%20%3A%20Comment%20d%C3%A9finir%20une%20ligne%20de%20r%C3%A9f%C3%A9rence%20sur%20chaque%20page%20avec%20l'option%20Page%20dans%20Graph%20Builder%20%3F%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%20Merci.%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EName%20Label%20Position(%22Last%22)%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3Ene%20semble%20pas%20%C3%AAtre%20disponible%2Ffonctionner%20dans%20JMP%2016.2.%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%20La%20raison%20pour%20laquelle%20j'ai%20choisi%20l'option%20Page%20est%20que%20je%20peux%20obtenir%20une%20mise%20%C3%A0%20l'%C3%A9chelle%20diff%C3%A9rente%20de%20l'axe%20Y.%20Je%20suis%20s%C3%BBr%20qu'il%20existe%20d'autres%20moyens%20de%20proc%C3%A9der%2C%20mais%20l'option%20Page%20semble%20la%20plus%20simple.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-798526%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%20%3A%20Comment%20d%C3%A9finir%20une%20ligne%20de%20r%C3%A9f%C3%A9rence%20sur%20chaque%20page%20avec%20l'option%20Page%20dans%20Graph%20Builder%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798526%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EVous%20devrez%20peut-%C3%AAtre%20alors%20revenir%20%C3%A0%20la%20solution%20de%20Mark%20et%20utiliser%20le%20gestionnaire%20de%20changement%20de%20filtre%20avec%20elle.%20Encore%20une%20fois%2C%20je%20n'ai%20aucune%20id%C3%A9e%20des%20limites%20de%20JMP16%20avec%20cette%20option%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%3ECe%20n%E2%80%99est%20pas%20l%E2%80%99option%20la%20plus%20robuste%20pour%20ce%20faire%2C%20mais%20c%E2%80%99est%20assez%20simple.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-798527%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%20%3A%20Comment%20d%C3%A9finir%20une%20ligne%20de%20r%C3%A9f%C3%A9rence%20sur%20chaque%20page%20avec%20l'option%20Page%20dans%20Graph%20Builder%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798527%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EEt%20un%20script%20graphique%20pourrait%20%C3%AAtre%20une%20option%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
10 REPLIES 10
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