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%3ECome%20impostare%20una%20linea%20di%20riferimento%20su%20ogni%20pagina%20con%20l'opzione%20Pagina%20in%20Graph%20Builder%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798220%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ELo%20script%20seguente%20traccia%20alcuni%20grafici%20con%20l'opzione%20pagina%20nel%20generatore%20di%20grafici%3F%20Come%20faccio%20a%20impostare%20una%20linea%20di%20riferimento%20orizzontale%2C%20per%20ogni%20grafico%2C%20diciamo%20a%20Peso%20%3D%2080%20Kg%20ed%20etichettarla%20(80%20kg)%20usando%20JSL%3F%3C%2FP%3E%3CP%3E(Ho%20bisogno%20che%20la%20linea%20di%20riferimento%20rimanga%20anche%20se%20cambia%20il%20numero%20di%20grafici%20tracciati)%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%3EAutomazione%20e%20scripting%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFinestre%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%3ER%3A%20Come%20impostare%20una%20linea%20di%20riferimento%20su%20ogni%20pagina%20con%20l'opzione%20Pagina%20in%20Graph%20Builder%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%3ER%3A%20Come%20impostare%20una%20linea%20di%20riferimento%20su%20ogni%20pagina%20con%20l'opzione%20Pagina%20in%20Graph%20Builder%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%20Smette%20di%20funzionare%20per%20me%20(JMP%2016.2)%20se%20invoco%20il%20filtro%20dati%20locale%20sull'et%C3%A0%20dopo%20la%20rappresentazione%20grafica%2C%20come%20di%20seguito%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%3ER%3A%20Come%20impostare%20una%20linea%20di%20riferimento%20su%20ogni%20pagina%20con%20l'opzione%20Pagina%20in%20Graph%20Builder%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798309%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EIl%20modo%20pi%C3%B9%20semplice%20%C3%A8%20aggiungere%20una%20nuova%20colonna%20alla%20tabella%20dati%20con%20lo%20stesso%20valore%20per%20ciascuna%20riga%20e%20aggiungerla%20al%20grafico.%20Funzioner%C3%A0%20con%20i%20filtri%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-798334%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3ER%3A%20Come%20impostare%20una%20linea%20di%20riferimento%20su%20ogni%20pagina%20con%20l'opzione%20Pagina%20in%20Graph%20Builder%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%20il%20tuo%20suggerimento%20funziona%20bene%2C%20tranne%20per%20il%20fatto%20che%20vorrei%20che%20l'etichetta%20di%20linea%20fosse%20sulla%20destra.%20C'%C3%A8%20un%20modo%20per%20cambiare%20la%20posizione%20dell'etichetta%20di%20linea%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%3ER%3A%20Come%20impostare%20una%20linea%20di%20riferimento%20su%20ogni%20pagina%20con%20l'opzione%20Pagina%20in%20Graph%20Builder%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798387%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ENon%20ricordo%20quali%20opzioni%20sono%20disponibili%20in%20JMP16%20perch%C3%A9%20al%20giorno%20d'oggi%20uso%20principalmente%20JMP18%20(con%20un%20po'%20di%20JMP17%20mescolato)%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%3ER%3A%20Come%20impostare%20una%20linea%20di%20riferimento%20su%20ogni%20pagina%20con%20l'opzione%20Pagina%20in%20Graph%20Builder%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798413%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CP%3ENon%20%C3%A8%20necessario%20modificare%20la%20tabella%20dei%20dati.%3CBR%20%2F%3E%3CBR%20%2F%3E%20Replicare%20l'impostazione%20dell'asse%20tramite%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%3Ecopia%20anche%20le%20linee%20di%20riferimento.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3Eper%20esempio%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%3ER%3A%20Come%20impostare%20una%20linea%20di%20riferimento%20su%20ogni%20pagina%20con%20l'opzione%20Pagina%20in%20Graph%20Builder%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798461%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EAnche%20questa%20%C3%A8%20un'opzione%2C%20ma%20si%20perde%20uno%20dei%20vantaggi%20di%20Page%3A%20avere%20una%20scala%20degli%20assi%20diversa%20per%20le%20diverse%20%22pagine%22.%20Potrebbe%20non%20essere%20un%20problema%20qui%20e%20potrebbe%20persino%20essere%20un%20vantaggio.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-798517%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ER%3A%20Come%20impostare%20una%20linea%20di%20riferimento%20su%20ogni%20pagina%20con%20l'opzione%20Pagina%20in%20Graph%20Builder%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%20Grazie.%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EName%20Label%20Position(%22Last%22)%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3Enon%20sembra%20essere%20disponibile%2Ffunzionante%20in%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%20Il%20motivo%20per%20cui%20ho%20scelto%20l'opzione%20Pagina%20%C3%A8%20per%20ottenere%20una%20scalatura%20diversa%20dell'asse%20y.%20Sono%20sicuro%20che%20ci%20siano%20altri%20modi%20per%20farlo%2C%20ma%20l'opzione%20Pagina%20sembra%20la%20pi%C3%B9%20semplice.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-798526%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ER%3A%20Come%20impostare%20una%20linea%20di%20riferimento%20su%20ogni%20pagina%20con%20l'opzione%20Pagina%20in%20Graph%20Builder%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798526%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EQuindi%20potresti%20dover%20tornare%20alla%20soluzione%20di%20Mark%20e%20usare%20il%20gestore%20di%20cambio%20filtro%20con%20essa.%20Di%20nuovo%2C%20non%20ho%20idea%20di%20quali%20siano%20le%20limitazioni%20di%20JMP16%20con%20questa%20opzione%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%3ENon%20%C3%A8%20il%20metodo%20pi%C3%B9%20efficace%20per%20farlo%2C%20ma%20%C3%A8%20piuttosto%20semplice.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-798527%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ER%3A%20Come%20impostare%20una%20linea%20di%20riferimento%20su%20ogni%20pagina%20con%20l'opzione%20Pagina%20in%20Graph%20Builder%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798527%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EE%20la%20sceneggiatura%20grafica%20potrebbe%20essere%20un'opzione%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