cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Discussions

Solve problems, and share tips and tricks with other JMP users.
%3CLINGO-SUB%20id%3D%22lingo-sub-780989%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3EWie%20speichere%20ich%20das%20Benchmark-Fenster%20in%20der%20Datentabelle%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-780989%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CP%3EHallo%20!%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3EDank%20dieses%20Skripts%20erstelle%20ich%20ein%20Fenster%20mit%20Benchmarks%20auf%20jmp%20und%20m%C3%B6chte%20es%20in%20der%20Datentabelle%20speichern%20(als%20w%C3%BCrde%20ich%20%E2%80%9ESkript%20in%20Datentabelle%20speichern%E2%80%9C%20ausf%C3%BChren).%20Das%20Problem%20ist%2C%20dass%20das%20Ende%20meines%20Skripts%20nicht%20funktioniert!!%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3E%2F%2F%20Ouvrir%20la%20table%20de%20donn%C3%A9es%0Adt%20%3D%20Open(fichier1)%3B%0A%0A%2F%2F%20Initialiser%20une%20liste%20pour%20stocker%20les%20noms%20des%20colonnes%20avec%20la%20note%20%22INGOT%20CHARACTERISTICS%22%0Acols_with_note%20%3D%20%7B%7D%3B%0A%0A%2F%2F%20Parcourir%20chaque%20colonne%20de%20la%20table%20par%20index%0AFor(i%20%3D%201%2C%20i%20%26lt%3B%3D%20N%20Cols(dt)%2C%20i%2B%2B%2C%0A%09col%20%3D%20Column(dt%2C%20i)%3B%0A%2F%2F%20V%C3%A9rifier%20si%20la%20colonne%20a%20une%20note%20%22INGOT%20CHARACTERISTICS%22%0A%09If(col%20%26lt%3B%26lt%3B%20Get%20Property(%22Notes%22)%20%3D%3D%20%22INGOT%20CHARACTERISTICS%22%2C%20%0A%2F%2F%20Ajouter%20le%20nom%20de%20la%20colonne%20%C3%A0%20la%20liste%0A%09%09Insert%20Into(cols_with_note%2C%20col%20%26lt%3B%26lt%3B%20Get%20Name)%0A%09)%3B%0A)%3B%0A%0APrint(%0A%09%22Colonnes%20avec%20notes%20trouv%C3%A9es%20pour%20la%20famille%20%22%20%7C%7C%20%22INGOT%20CHARACTERISTICS%22%20%7C%7C%20%22%20%3A%20%22%20%7C%7C%0A%09Char(cols_with_note)%20%7C%7C%20%22%5Cn%22%0A)%3B%0A%0A%2F%2F%20Cr%C3%A9er%20une%20nouvelle%20fen%C3%AAtre%20pour%20regrouper%20tous%20les%20graphiques%0Areport_window%20%3D%20New%20Window(%22BenchMarks_Ingot_Characteristics%22%2C%0A%09V%20List%20Box(%0A%09%09Fit%20Group(%0A%09%09%09For(i%20%3D%201%2C%20i%20%26lt%3B%3D%20N%20Items(cols_with_note)%2C%20i%2B%2B%2C%0A%09%09%09%09col_name%20%3D%20cols_with_note%5Bi%5D%3B%0A%2F%2F%20Ajouter%20le%20graphique%20Oneway%20au%20Fit%20Group%0A%09%09%09%09Oneway(%0A%09%09%09%09%09Y(Column(dt%2C%20col_name))%2C%0A%09%09%09%09%09X(Column(dt%2C%20selection))%2C%0A%09%09%09%09%09Quantiles(1)%2C%0A%09%09%09%09%09Means%20and%20Std%20Dev(1)%2C%0A%09%09%09%09%09Box%20Plots(1)%2C%0A%09%09%09%09%09Mean%20Error%20Bars(1)%2C%0A%09%09%09%09%09Std%20Dev%20Lines(1)%2C%0A%09%09%09%09%09X%20Axis%20Proportional(0)%2C%0A%09%09%09%09%09Grand%20Mean(0)%2C%0A%09%09%09%09%09SendToReport(%0A%09%09%09%09%09%09Dispatch(%7B%7D%2C%20%22Oneway%20Plot%22%2C%20FrameBox%2C%0A%09%09%09%09%09%09%09%7BDispatchSeg(%0A%09%09%09%09%09%09%09%09Box%20Plot%20Seg(1)%2C%0A%09%09%09%09%09%09%09%09%7BConfidence%20Diamond(0)%2C%20Shortest%20Half%20Bracket(0)%2C%0A%09%09%09%09%09%09%09%09Line%20Color(%22Red%22)%7D%0A%09%09%09%09%09%09%09)%7D%0A%09%09%09%09%09%09)%0A%09%09%09%09%09)%0A%09%09%09%09)%3B%0A%09%09%09)%0A%09%09)%0A%09)%0A)%3B%0A%2F%2F%20Enregistrer%20la%20fen%C3%AAtre%20dans%20le%20fichier%20de%20donn%C3%A9es%0Areport_window%20%26lt%3B%26lt%3B%20Save%20Script%20to%20Data%20Table(%0A%09dt%2C%20%2F%2F%20Sp%C3%A9cifie%20la%20table%20de%20donn%C3%A9es%0A%09%22BenchMarks_Ingot_Characteristics%22%2C%20%2F%2F%20Nom%20de%20la%20fen%C3%AAtre%20pour%20enregistrer%0A%0A)%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3EBearbeiten%202024-08-12%20jthi%2C%20JSL-Formatierung%20hinzugef%C3%BCgt%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-780989%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CLINGO-LABEL%3EAutomatisierung%20und%20Skripting%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDatenzugriff%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDatenexploration%20und%20-visualisierung%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-781012%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Wie%20speichere%20ich%20das%20Benchmark-Fenster%20in%20der%20Datentabelle%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-781012%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EWenn%20Sie%20JSL-Code%20in%20der%20JMP-Community%20ver%C3%B6ffentlichen%2C%20verwenden%20Sie%20bitte%20die%20JSL-Formatierung.%20Sie%20k%C3%B6nnen%20sie%20hinzuf%C3%BCgen%20mit%3CBR%20%2F%3E%20%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22jthi_0-1723476660559.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723476660559.png%22%20style%3D%22width%3A%2069px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723476660559.png%22%20style%3D%22width%3A%2069px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723476660559.png%22%20style%3D%22width%3A%2069px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723476660559.png%22%20style%3D%22width%3A%2069px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723476660559.png%22%20style%3D%22width%3A%2069px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723476660559.png%22%20style%3D%22width%3A%2069px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723476660559.png%22%20style%3D%22width%3A%2069px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723476660559.png%22%20style%3D%22width%3A%2069px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723476660559.png%22%20style%3D%22width%3A%2069px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723476660559.png%22%20style%3D%22width%3A%2069px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723476660559.png%22%20style%3D%22width%3A%2069px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723476660559.png%22%20style%3D%22width%3A%2069px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723476660559.png%22%20style%3D%22width%3A%2069px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723476660559.png%22%20style%3D%22width%3A%2069px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723476660559.png%22%20style%3D%22width%3A%2069px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723476660559.png%22%20style%3D%22width%3A%2069px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723476660559.png%22%20style%3D%22width%3A%2069px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723476660559.png%22%20style%3D%22width%3A%2069px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67047i846FEFB160782B7C%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22jthi_0-1723476660559.png%22%20alt%3D%22jthi_0-1723476660559.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%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%20.%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3EZu%20Ihrer%20Frage%3A%20Welche%20JMP-Version%20verwenden%20Sie%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-781038%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Wie%20speichere%20ich%20das%20Benchmark-Fenster%20in%20der%20Datentabelle%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-781038%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHier%20sind%20zwei%20Optionen%2C%20die%20f%C3%BCr%20Sie%20funktionieren%20k%C3%B6nnten.%20Option%202%20ist%20normalerweise%20einfacher%20zu%20verwenden%2C%20aber%20das%20erstellte%20Skript%20ist%20in%20der%20Tabelle%20schwieriger%20zu%20%C3%A4ndern%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(1)%3B%0A%0Adt%20%3D%20Open(%22%24SAMPLE_DATA%2FSemiconductor%20Capability.jmp%22)%3B%0A%0Asel%20%3D%20%22SITE%22%3B%0A%0Acols%20%3D%20Left(dt%20%26lt%3B%26lt%3B%20Get%20Column%20Names(%22Continuous%22%2C%20%22String%22)%2C%2010)%3B%0A%0A%0A%2F%2F%20Option1%0Aow_expr%20%3D%20EvalExpr(dt%20%26lt%3B%26lt%3B%20Oneway(%0A%09Y(Eval(Expr(cols)))%2C%0A%09X(Eval(Expr(sel)))%2C%0A%09Quantiles(1)%2C%0A%09Means%20and%20Std%20Dev(1)%2C%0A%09Box%20Plots(1)%2C%0A%09Mean%20Error%20Bars(1)%2C%0A%09Std%20Dev%20Lines(1)%2C%0A%09X%20Axis%20Proportional(0)%2C%0A%09Grand%20Mean(0)%2C%0A%09SendToReport(%0A%09%09Dispatch(%7B%7D%2C%20%22Oneway%20Plot%22%2C%20FrameBox%2C%0A%09%09%09%7BDispatchSeg(%0A%09%09%09%09Box%20Plot%20Seg(1)%2C%0A%09%09%09%09%7BConfidence%20Diamond(0)%2C%20Shortest%20Half%20Bracket(0)%2C%0A%09%09%09%09Line%20Color(%22Red%22)%7D%0A%09%09%09)%7D%0A%09%09)%0A%09)%0A))%3B%0A%0AEval(EvalExpr(%0A%09dt%20%26lt%3B%26lt%3B%20New%20Script(%22Plots%22%2C%20Expr(Name%20Expr(ow_expr)))%3B%0A))%3B%0Adt%20%26lt%3B%26lt%3B%20Run%20Script(%22Plots%22)%3B%20%2F%2F%20if%20you%20want%20to%20leave%20it%20open%0A%0A%0A%0A%2F%2F%20Option2%0Aows%20%3D%20dt%20%26lt%3B%26lt%3B%20Oneway(%0A%09Y(Eval(cols))%2C%0A%09X(Eval(sel))%2C%0A%09Quantiles(1)%2C%0A%09Means%20and%20Std%20Dev(1)%2C%0A%09Box%20Plots(1)%2C%0A%09Mean%20Error%20Bars(1)%2C%0A%09Std%20Dev%20Lines(1)%2C%0A%09X%20Axis%20Proportional(0)%2C%0A%09Grand%20Mean(0)%2C%0A%09SendToReport(%0A%09%09Dispatch(%7B%7D%2C%20%22Oneway%20Plot%22%2C%20FrameBox%2C%0A%09%09%09%7BDispatchSeg(%0A%09%09%09%09Box%20Plot%20Seg(1)%2C%0A%09%09%09%09%7BConfidence%20Diamond(0)%2C%20Shortest%20Half%20Bracket(0)%2C%0A%09%09%09%09Line%20Color(%22Red%22)%7D%0A%09%09%09)%7D%0A%09%09)%0A%09)%0A)%3B%0A%0Aows%5B1%5D%20%26lt%3B%26lt%3B%20Save%20Script%20for%20All%20Objects%20To%20Data%20Table(%22Plot2%22)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-781055%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Wie%20speichere%20ich%20das%20Benchmark-Fenster%20in%20der%20Datentabelle%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-781055%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EIch%20habe%20eine%20Schleife%20erstellt%2C%20um%20alle%20meine%20Benchmarks%20in%20einer%20Fit-Gruppe%20zu%20haben%2C%20und%20ich%20m%C3%B6chte%20diese%20gesamte%20Fit-Gruppe%20in%20einem%20Fenster%20speichern.%20Das%20Skript%2C%20das%20Sie%20mir%20gesendet%20haben%2C%20funktioniert%20bei%20mir%20nicht%3CLI-EMOJI%20id%3D%22lia_disappointed-face%22%20title%3D%22%3Acara_de_decepci%C3%B3n%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-781339%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Wie%20speichere%20ich%20das%20Benchmark-Fenster%20in%20der%20Datentabelle%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-781339%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EWas%20ist%20falsch%20an%20dem%20Skript%2C%20das%20ich%20Ihnen%20zur%20Verf%C3%BCgung%20gestellt%20habe%3F%20Sie%20haben%20mir%20nicht%20gesagt%2C%20welche%20JMP-Version%20Sie%20verwenden%2C%20daher%20funktioniert%20es%20m%C3%B6glicherweise%20nicht%20mit%20allen%20JMP-Versionen%20(ich%20habe%20nur%20Zugriff%20auf%20JMP17%20und%20JMP18).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-781341%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Wie%20speichere%20ich%20das%20Benchmark-Fenster%20in%20der%20Datentabelle%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-781341%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EDie%20Benchmarks%20wurden%20in%20meiner%20Datei%20nicht%20registriert.%20Ich%20wei%C3%9F%20nicht%2C%20warum%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-781342%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Wie%20speichere%20ich%20das%20Benchmark-Fenster%20in%20der%20Datentabelle%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-781342%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EIch%20benutze%20jmp%2016%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-781344%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Wie%20speichere%20ich%20das%20Benchmark-Fenster%20in%20der%20Datentabelle%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-781344%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EAu%C3%9Ferdem%20enth%C3%A4lt%20das%20Skript%2C%20das%20Sie%20mir%20senden%2C%20nicht%20die%20Schleife%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-781346%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Wie%20speichere%20ich%20das%20Benchmark-Fenster%20in%20der%20Datentabelle%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-781346%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EWenn%20eine%20Schleife%20nicht%20notwendig%20ist%20(vielleicht%20bei%20JMP16)%2C%20warum%20sollte%20man%20dann%20eine%20verwenden%3F%20Denn%20mit%20meinen%20vorherigen%20Skripten%20erh%C3%A4lt%20man%20Ergebnisse%20wie%20diese%20(in%20JMP18)%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22jthi_0-1723567187515.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723567187515.png%22%20style%3D%22width%3A%20427px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723567187515.png%22%20style%3D%22width%3A%20427px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723567187515.png%22%20style%3D%22width%3A%20427px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723567187515.png%22%20style%3D%22width%3A%20427px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723567187515.png%22%20style%3D%22width%3A%20427px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723567187515.png%22%20style%3D%22width%3A%20427px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723567187515.png%22%20style%3D%22width%3A%20427px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723567187515.png%22%20style%3D%22width%3A%20427px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723567187515.png%22%20style%3D%22width%3A%20427px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723567187515.png%22%20style%3D%22width%3A%20427px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723567187515.png%22%20style%3D%22width%3A%20427px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67104i4471801717B9E538%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22jthi_0-1723567187515.png%22%20alt%3D%22jthi_0-1723567187515.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%0A%3CP%3E%20%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-781357%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Wie%20speichere%20ich%20das%20Benchmark-Fenster%20in%20der%20Datentabelle%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-781357%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EJarmo%2C%3C%2FP%3E%0A%3CP%3EIch%20habe%20Ihr%20Skript%20in%20JMP%2016%20ausgef%C3%BChrt%20und%20beide%20Optionen%20funktionierten%20wie%20erwartet%20und%20speicherten%20die%20Skripte%20in%20der%20urspr%C3%BCnglichen%20Datentabelle.%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-781358%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Wie%20speichere%20ich%20das%20Benchmark-Fenster%20in%20der%20Datentabelle%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-781358%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EIch%20verstehe%20nicht%2C%20warum%20eine%20Schleife%20nicht%20notwendig%20ist%2C%20wenn%20ich%20Benchmarks%20f%C3%BCr%20jeden%20Wert%20der%20Liste%20cols_with_note%20als%20Y%20generieren%20muss.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-781359%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Wie%20speichere%20ich%20das%20Benchmark-Fenster%20in%20der%20Datentabelle%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-781359%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EEinige%20JMP-Plattformen%20erm%C3%B6glichen%20die%20Verwendung%20mehrerer%20Spalten%20als%20Eingaben.%20Nachdem%20Sie%20Ihre%20Spaltenliste%20haben%2C%20k%C3%B6nnen%20Sie%20sie%20m%C3%B6glicherweise%20direkt%20als%20Eingabe%20in%20einer%20Plattform%20verwenden.%20Sie%20ben%C3%B6tigen%20also%20eine%20Schleife%20zum%20Sammeln%20der%20Spalten%20(oder%20eine%20andere%20Methode%2C%20ich%20habe%20Ihre%20Daten%20nicht%2C%20daher%20kann%20ich%20es%20nicht%20wissen)%20und%20eine%20zweite%20Schleife%20ist%20m%C3%B6glicherweise%20unn%C3%B6tig%2C%20je%20nachdem%2C%20welches%20Endergebnis%20Sie%20erzielen%20m%C3%B6chten.%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3EMein%20Beispiel%20enth%C3%A4lt%20keine%20Schleifen%2C%20da%20es%20f%C3%BCr%20mein%20Beispielskript%20nicht%20notwendig%20ist%2C%20eine%20Schleife%20%C3%BCber%20alle%20Spalten%20auszuf%C3%BChren%2C%20um%20eine%20Beispielliste%20zu%20erstellen.%20Ich%20kann%20einfach%20einige%20Spalten%20ausw%C3%A4hlen%2C%20um%20zu%20demonstrieren%2C%20was%20Sie%20tun%20k%C3%B6nnen%2C%20insbesondere%20da%20Sie%20den%20Teil%20mit%20der%20Spaltensammlung%20anscheinend%20bereits%20gel%C3%B6st%20haben.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-781360%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Wie%20speichere%20ich%20das%20Benchmark-Fenster%20in%20der%20Datentabelle%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-781360%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EOkay%2C%20ich%20verstehe%20es%2C%20aber%20ich%20wei%C3%9F%20nicht%2C%20warum%20es%20nicht%20funktioniert%2C%20wenn%20ich%20auf%20die%20Schaltfl%C3%A4che%20klicke%2C%20um%20es%20zu%20starten.%20Ich%20wei%C3%9F%20also%2C%20dass%20es%20gespeichert%20wurde%2C%20aber%20ich%20kann%20die%20Benchmarks%20nicht%20%C3%BCber%20die%20gr%C3%BCne%20Schaltfl%C3%A4che%20starten.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-781363%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Wie%20speichere%20ich%20das%20Benchmark-Fenster%20in%20der%20Datentabelle%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-781363%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EKlicken%20Sie%20mit%20der%20rechten%20Maustaste%20auf%20das%20Skript%20und%20w%C3%A4hlen%20Sie%20%E2%80%9EBearbeiten%E2%80%9C%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22jthi_0-1723571386633.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723571386633.png%22%20style%3D%22width%3A%20201px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723571386633.png%22%20style%3D%22width%3A%20201px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723571386633.png%22%20style%3D%22width%3A%20201px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723571386633.png%22%20style%3D%22width%3A%20201px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723571386633.png%22%20style%3D%22width%3A%20201px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1723571386633.png%22%20style%3D%22width%3A%20201px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67106iDE69D4F7D79EB61B%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22jthi_0-1723571386633.png%22%20alt%3D%22jthi_0-1723571386633.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%2FP%3E%0A%3CP%3ESie%20k%C3%B6nnen%20dann%20das%20Skript%20anzeigen%2C%20das%20sich%20in%20der%20Tabelle%20befindet.%20H%C3%B6chstwahrscheinlich%20ist%20damit%20etwas%20nicht%20in%20Ordnung.%20Manchmal%20kann%20es%20etwas%20schwierig%20sein%2C%20sie%20korrekt%20in%20der%20Datentabelle%20zu%20speichern.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-781364%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Wie%20speichere%20ich%20das%20Benchmark-Fenster%20in%20der%20Datentabelle%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-781364%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EOk%2C%20vielen%20Dank%2C%20du%20hast%20mich%20wirklich%20gerettet!!%20Ich%20habe%20noch%20eine%20Frage.%20Ich%20mache%20das%20f%C3%BCr%20mehrere%20Studien%20und%20manchmal%20sind%20die%20Listenspalten%20(oder%20cols_with_note)%20m%C3%B6glicherweise%20leer%2C%20aber%20das%20Skript%2C%20das%20du%20mir%20schickst%2C%20funktioniert%20nicht%2C%20wenn%20die%20Spalten%20leer%20sind%20(was%20eigentlich%20normal%20ist).%20Ich%20mache%20dieses%20Skript%2C%20um%20sie%20zu%20einem%20Workflow-Formularsprung%20hinzuzuf%C3%BCgen.%20Gibt%20es%20eine%20M%C3%B6glichkeit%2C%20zu%20sagen%3A%20%E2%80%9EWenn%20die%20Spalten%20leer%20sind%2C%20dann%20stoppe%20das%20Skript%20und%20gehe%20zum%20n%C3%A4chsten%20%C3%BCber%E2%80%9C%3F%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-781365%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Wie%20speichere%20ich%20das%20Benchmark-Fenster%20in%20der%20Datentabelle%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-781365%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Eoder%20besser%20gesagt%2C%20wenn%20die%20Liste%20nicht%20leer%20ist%2C%20generieren%20wir%20die%20Benchmarks%20und%20sonst%20tun%20wir%20nichts%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-781367%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Wie%20speichere%20ich%20das%20Benchmark-Fenster%20in%20der%20Datentabelle%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-781367%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ESie%20k%C3%B6nnen%20die%20if-Anweisung%20und%20N%20Items()%20verwenden%2C%20um%20zu%20pr%C3%BCfen%2C%20ob%20die%20Liste%20Elemente%20enth%C3%A4lt.%20Und%20dann%20entweder%20anhalten%2C%20wenn%20sie%20leer%20ist%2C%20oder%20etwas%20anderes%20tun%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Emylist%20%3D%20%7B%7D%3B%0AIf(N%20Items(mylist)%20%3D%3D%200%2C%0A%09stop()%3B%0A)%3B%0Ashow(1)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-781369%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Wie%20speichere%20ich%20das%20Benchmark-Fenster%20in%20der%20Datentabelle%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-781369%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EIch%20empfehle%20Ihnen%20dringend%2C%20sich%20die%20Zeit%20zu%20nehmen%20und%20den%20Scripting%20Guide%20zu%20lesen%2C%20der%20im%20Pulldown-Men%C3%BC%20%E2%80%9EHilfe%E2%80%9C%20verf%C3%BCgbar%20ist.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-781395%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Wie%20speichere%20ich%20das%20Benchmark-Fenster%20in%20der%20Datentabelle%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-781395%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EMir%20ist%20aufgefallen%2C%20dass%2C%20wenn%20meine%20Liste%20nur%20einen%20Spaltennamen%20oder%20eine%20leere%20Spalte%20enth%C3%A4lt%2C%20das%20Skript%20sagt%3A%20%E2%80%9ESend%20erwartet%20skriptf%C3%A4hige%20Objekte.%20Wie%20kann%20ich%20das%20korrigieren%3F%E2%80%9C%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar

How to save the benchmarks window to the data table ?

Hi ! 

 

Thanks to this script I generate à window of BenchMarks on jmp and I would like to save it to the data table ( like if I was doing "save script to data table") The problem is that the end of my script doesn't work !! 

// Ouvrir la table de données
dt = Open(fichier1);

// Initialiser une liste pour stocker les noms des colonnes avec la note "INGOT CHARACTERISTICS"
cols_with_note = {};

// Parcourir chaque colonne de la table par index
For(i = 1, i <= N Cols(dt), i++,
	col = Column(dt, i);
// Vérifier si la colonne a une note "INGOT CHARACTERISTICS"
	If(col << Get Property("Notes") == "INGOT CHARACTERISTICS", 
// Ajouter le nom de la colonne à la liste
		Insert Into(cols_with_note, col << Get Name)
	);
);

Print(
	"Colonnes avec notes trouvées pour la famille " || "INGOT CHARACTERISTICS" || " : " ||
	Char(cols_with_note) || "\n"
);

// Créer une nouvelle fenêtre pour regrouper tous les graphiques
report_window = New Window("BenchMarks_Ingot_Characteristics",
	V List Box(
		Fit Group(
			For(i = 1, i <= N Items(cols_with_note), i++,
				col_name = cols_with_note[i];
// Ajouter le graphique Oneway au Fit Group
				Oneway(
					Y(Column(dt, col_name)),
					X(Column(dt, selection)),
					Quantiles(1),
					Means and Std Dev(1),
					Box Plots(1),
					Mean Error Bars(1),
					Std Dev Lines(1),
					X Axis Proportional(0),
					Grand Mean(0),
					SendToReport(
						Dispatch({}, "Oneway Plot", FrameBox,
							{DispatchSeg(
								Box Plot Seg(1),
								{Confidence Diamond(0), Shortest Half Bracket(0),
								Line Color("Red")}
							)}
						)
					)
				);
			)
		)
	)
);
// Enregistrer la fenêtre dans le fichier de données
report_window << Save Script to Data Table(
	dt, // Spécifie la table de données
	"BenchMarks_Ingot_Characteristics", // Nom de la fenêtre pour enregistrer

);

Edit 2024-08-12 jthi, Added JSL formatting

18 REPLIES 18
jthi
Super User

Re: How to save the benchmarks window to the data table ?

When you post JSL code to JMP Community, please utilize JSL formatting. You can add it with
jthi_0-1723476660559.png.

 

On your question, which JMP version are you using?

-Jarmo
jthi
Super User

Re: How to save the benchmarks window to the data table ?

Here are two options which might work for you. Option 2 is usually easier to use but the script it creates is more difficult to modify in the table

Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Semiconductor Capability.jmp");

sel = "SITE";

cols = Left(dt << Get Column Names("Continuous", "String"), 10);


// Option1
ow_expr = EvalExpr(dt << Oneway(
	Y(Eval(Expr(cols))),
	X(Eval(Expr(sel))),
	Quantiles(1),
	Means and Std Dev(1),
	Box Plots(1),
	Mean Error Bars(1),
	Std Dev Lines(1),
	X Axis Proportional(0),
	Grand Mean(0),
	SendToReport(
		Dispatch({}, "Oneway Plot", FrameBox,
			{DispatchSeg(
				Box Plot Seg(1),
				{Confidence Diamond(0), Shortest Half Bracket(0),
				Line Color("Red")}
			)}
		)
	)
));

Eval(EvalExpr(
	dt << New Script("Plots", Expr(Name Expr(ow_expr)));
));
dt << Run Script("Plots"); // if you want to leave it open



// Option2
ows = dt << Oneway(
	Y(Eval(cols)),
	X(Eval(sel)),
	Quantiles(1),
	Means and Std Dev(1),
	Box Plots(1),
	Mean Error Bars(1),
	Std Dev Lines(1),
	X Axis Proportional(0),
	Grand Mean(0),
	SendToReport(
		Dispatch({}, "Oneway Plot", FrameBox,
			{DispatchSeg(
				Box Plot Seg(1),
				{Confidence Diamond(0), Shortest Half Bracket(0),
				Line Color("Red")}
			)}
		)
	)
);

ows[1] << Save Script for All Objects To Data Table("Plot2");
-Jarmo

Re: How to save the benchmarks window to the data table ?

I made a loop to have all my benchmarks in one Fit Group and I would like to save all this Fit Group in one window, the script you sent me did not works for me

jthi
Super User

Re: How to save the benchmarks window to the data table ?

What is wrong with the script I provided you with? You didn't tell me which JMP version you are using so that might not work for all JMP version (I have only access top JMP17 and JMP18).

-Jarmo

Re: How to save the benchmarks window to the data table ?

It didn’t register the benchmarks in my fichier1 don’t know why

Re: How to save the benchmarks window to the data table ?

I use jmp 16
txnelson
Super User

Re: How to save the benchmarks window to the data table ?

Jarmo,

I ran your script in JMP 16 and both options worked as expected, saving the scripts to the original data table.

 

 

Jim

Re: How to save the benchmarks window to the data table ?

Moreover the script you send me doesn’t incluse the loop
jthi
Super User

Re: How to save the benchmarks window to the data table ?

If loop isn't necessary (might be with JMP16) why would you use one? For with my previous scripts you get results like this (in JMP18)

jthi_0-1723567187515.png

 

-Jarmo

Recommended Articles