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%3EWie%20legt%20man%20mit%20der%20Seitenoption%20im%20Graph%20Builder%20auf%20jeder%20Seite%20eine%20Referenzlinie%20fest%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798220%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDas%20folgende%20Skript%20erstellt%20einige%20Diagramme%20mit%20der%20Seitenoption%20im%20Graph%20Builder.%20Wie%20lege%20ich%20f%C3%BCr%20jedes%20Diagramm%20eine%20horizontale%20Referenzlinie%20fest%2C%20beispielsweise%20bei%20Gewicht%20%3D%2080%26nbsp%3Bkg%2C%20und%20beschrifte%20sie%20(80%26nbsp%3Bkg)%20mit%20JSL%3F%3C%2FP%3E%3CP%3E(Die%20Referenzlinie%20muss%20erhalten%20bleiben%2C%20auch%20wenn%20sich%20die%20Anzahl%20der%20dargestellten%20Diagramme%20%C3%A4ndert.)%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%3EAutomatisierung%20und%20Skripting%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%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%3EBetreff%3A%20Wie%20lege%20ich%20mit%20der%20Seitenoption%20im%20Graph%20Builder%20auf%20jeder%20Seite%20eine%20Referenzlinie%20fest%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%3EBetreff%3A%20Wie%20lege%20ich%20mit%20der%20Seitenoption%20im%20Graph%20Builder%20auf%20jeder%20Seite%20eine%20Referenzlinie%20fest%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%20Funktioniert%20bei%20mir%20nicht%20mehr%20(JMP%2016.2)%2C%20wenn%20ich%20nach%20dem%20Plotten%20den%20lokalen%20Datenfilter%20f%C3%BCr%20das%20Alter%20aufrufe%2C%20wie%20unten%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%3EBetreff%3A%20Wie%20lege%20ich%20mit%20der%20Seitenoption%20im%20Graph%20Builder%20auf%20jeder%20Seite%20eine%20Referenzlinie%20fest%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798309%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EAm%20einfachsten%20ist%20es%2C%20Ihrer%20Datentabelle%20eine%20neue%20Spalte%20mit%20demselben%20Wert%20f%C3%BCr%20jede%20Zeile%20hinzuzuf%C3%BCgen%20und%20diese%20dann%20Ihrem%20Diagramm%20hinzuzuf%C3%BCgen.%20Dies%20funktioniert%20mit%20Filtern%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-798334%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3EBetreff%3A%20Wie%20lege%20ich%20mit%20der%20Seitenoption%20im%20Graph%20Builder%20auf%20jeder%20Seite%20eine%20Referenzlinie%20fest%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%2C%3C%2FA%3E%20Ihr%20Vorschlag%20funktioniert%20gut%2C%20au%C3%9Fer%20dass%20ich%20die%20Linienbeschriftung%20gerne%20rechts%20h%C3%A4tte.%20Gibt%20es%20eine%20M%C3%B6glichkeit%2C%20die%20Position%20der%20Linienbeschriftung%20zu%20%C3%A4ndern%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%3EBetreff%3A%20Wie%20lege%20ich%20mit%20der%20Seitenoption%20im%20Graph%20Builder%20auf%20jeder%20Seite%20eine%20Referenzlinie%20fest%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798387%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EIch%20wei%C3%9F%20nicht%20mehr%2C%20welche%20Optionen%20in%20JMP16%20verf%C3%BCgbar%20sind%2C%20da%20ich%20heutzutage%20haupts%C3%A4chlich%20JMP18%20verwende%20(mit%20etwas%20JMP17%20dazwischengemischt).%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%3EBetreff%3A%20Wie%20lege%20ich%20mit%20der%20Seitenoption%20im%20Graph%20Builder%20auf%20jeder%20Seite%20eine%20Referenzlinie%20fest%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798413%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CP%3EEs%20ist%20nicht%20erforderlich%2C%20die%20Datentabelle%20zu%20%C3%A4ndern.%3CBR%20%2F%3E%3CBR%20%2F%3E%20Replizieren%20der%20Achseneinstellung%20%C3%BCber%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%3Ekopiert%20auch%20die%20Referenzlinien.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3Ez.B%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%3EBetreff%3A%20Wie%20lege%20ich%20mit%20der%20Seitenoption%20im%20Graph%20Builder%20auf%20jeder%20Seite%20eine%20Referenzlinie%20fest%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798461%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDas%20ist%20auch%20eine%20Option%2C%20aber%20Sie%20verlieren%20einen%20der%20Vorteile%20von%20Page%3A%20die%20M%C3%B6glichkeit%2C%20f%C3%BCr%20verschiedene%20%E2%80%9ESeiten%E2%80%9C%20unterschiedliche%20Achsenskalierungen%20zu%20haben.%20Dies%20ist%20hier%20m%C3%B6glicherweise%20kein%20Problem%20und%20k%C3%B6nnte%20sogar%20von%20Vorteil%20sein.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-798517%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Wie%20lege%20ich%20mit%20der%20Seitenoption%20im%20Graph%20Builder%20auf%20jeder%20Seite%20eine%20Referenzlinie%20fest%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%20Danke.%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EName%20Label%20Position(%22Last%22)%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3Escheint%20in%20JMP%2016.2%20nicht%20verf%C3%BCgbar%20zu%20sein%2Fzu%20funktionieren.%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%20Der%20Grund%2C%20warum%20ich%20die%20Option%20%E2%80%9ESeite%E2%80%9C%20gew%C3%A4hlt%20habe%2C%20ist%2C%20dass%20ich%20so%20eine%20andere%20Skalierung%20der%20Y-Achse%20erhalten%20kann.%20Ich%20bin%20sicher%2C%20dass%20es%20andere%20M%C3%B6glichkeiten%20gibt%2C%20dies%20zu%20tun%2C%20aber%20die%20Option%20%E2%80%9ESeite%E2%80%9C%20scheint%20am%20einfachsten%20zu%20sein.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-798526%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Wie%20lege%20ich%20mit%20der%20Seitenoption%20im%20Graph%20Builder%20auf%20jeder%20Seite%20eine%20Referenzlinie%20fest%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798526%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDann%20m%C3%BCssen%20Sie%20m%C3%B6glicherweise%20zu%20Marks%20L%C3%B6sung%20zur%C3%BCckkehren%20und%20den%20Filter%C3%A4nderungshandler%20damit%20verwenden.%20Auch%20hier%20keine%20Ahnung%2C%20was%20die%20Einschr%C3%A4nkungen%20von%20JMP16%20mit%20dieser%20Option%20sind%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%3EDies%20ist%20zwar%20nicht%20die%20zuverl%C3%A4ssigste%20M%C3%B6glichkeit%2C%20aber%20eine%20recht%20einfache.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-798527%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Wie%20lege%20ich%20mit%20der%20Seitenoption%20im%20Graph%20Builder%20auf%20jeder%20Seite%20eine%20Referenzlinie%20fest%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798527%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EUnd%20Grafikskript%20k%C3%B6nnte%20eine%20Option%20sein%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