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-809807%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ESo%20%C3%A4ndern%20Sie%20Intervalllinien%20in%20Plot%20Col%20Boxes%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-809807%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%20%3C%2FP%3E%3CP%3EHallo%2C%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3EIch%20versuche%2C%20aus%20den%20Ergebnissen%20des%20Student-T-Tests%20einen%20Tabellenbox-Bericht%20zu%20erstellen%2C%20den%20ich%20f%C3%BCr%20einen%20Bericht%20verwenden%20kann.%20Wenn%20Sie%20einen%20Student-T-Test%20auf%20der%20Plattform%20%E2%80%9EFit%20Y%20by%20X%E2%80%9C%20ausf%C3%BChren%2C%20verf%C3%BCgt%20jeder%20Durchlauf%20%C3%BCber%20eine%20Plot%20Col%20Box%2C%20die%20die%20Differenz%20sowie%20die%20untere%20und%20obere%20CL%20als%20Bereich%20anzeigt%2C%20der%20danach%20eingef%C3%A4rbt%20wird%2C%20ob%20die%20CLs%20die%20Referenzlinie%20mit%20der%20Differenz%20von%200%20%C3%BCberschreiten.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22RahBarroso_0-1730905102778.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22RahBarroso_0-1730905102778.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F69907iF4C3433D16CE2CCA%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22RahBarroso_0-1730905102778.png%22%20alt%3D%22RahBarroso_0-1730905102778.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%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%22RahBarroso_1-1730905102780.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22RahBarroso_1-1730905102780.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F69906i05FD2252728AA188%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22RahBarroso_1-1730905102780.png%22%20alt%3D%22RahBarroso_1-1730905102780.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3EDie%20Herausforderung%20f%C3%BCr%20mich%20besteht%20darin%2C%20dass%20beim%20Versuch%2C%20dies%20nachzubilden%20und%20eine%20Plot%20Col%20Box%20einzuf%C3%BCgen%2C%20beim%20Hinzuf%C3%BCgen%20einer%20Referenzlinie%20die%20Punkte%20rot%20werden%2C%20unabh%C3%A4ngig%20davon%2C%20ob%20sie%20die%20CL%20gekreuzt%20haben%20(siehe%20dieselben%20Daten%20unten%2C%20dargestellt%20in%20meiner%20Tabellenbox).%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22RahBarroso_2-1730905102781.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22RahBarroso_2-1730905102781.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F69908i82ED0752A6850413%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22RahBarroso_2-1730905102781.png%22%20alt%3D%22RahBarroso_2-1730905102781.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3EIch%20habe%20im%20Scripting-Index%20%E2%80%9EEigenschaften%20der%20Intervalllinie%20festlegen%E2%80%9C%20gefunden%2C%20aber%20es%20gibt%20keine%20Anleitung%20zur%20Verwendung.%20Sie%20k%C3%B6nnen%20im%20angeh%C3%A4ngten%20Skript%20sehen%2C%20dass%20ich%20versucht%20habe%2C%20damit%20die%20Eigenschaften%20so%20einzustellen%2C%20dass%20sie%20mit%20denen%20im%20Bericht%20%E2%80%9EY%20nach%20X%20anpassen%E2%80%9C%20%C3%BCbereinstimmen%2C%20aber%20es%20erfolgt%20keine%20%C3%84nderung%20und%20die%20gemeldeten%20Werte%20%C3%A4ndern%20sich%20von%20den%20Werten%2C%20auf%20die%20ich%20sie%20eingestellt%20habe.%20Die%20Plot%20Col%20Box%20bietet%20Optionen%20zum%20%C3%84ndern%20der%20Balkenfarbe%2C%20wenn%20der%20Plottyp%20auf%20Balken%20eingestellt%20ist%2C%20aber%20ich%20sehe%20keine%20einfache%20M%C3%B6glichkeit%2C%20Intervalle%20zu%20%C3%A4ndern.%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3EJede%20Klarstellung%20w%C3%A4re%20willkommen!%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3EDanke!%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-809807%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EAutomatisierung%20und%20Skripting%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMassenanpassung%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EErgebnisse%20teilen%20und%20kommunizieren%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-809816%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20So%20%C3%A4ndern%20Sie%20Intervalllinien%20in%20Plot%20Col%20Boxes%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-809816%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EVielleicht%20hilft%20dieses%20Beispiel%20weiter%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(1)%3B%0ANew%20Window(%22Example%22%2C%0A%09Table%20Box(pcb%20%3D%20Plot%20Col%20Box(%22Probability%22%2C%20%7B25%2C%2045%7D))%0A)%3B%0Apcb%20%26lt%3B%26lt%3B%20Set%20Plot%20Style(%22Interval%22)%3B%0Apcb%20%26lt%3B%26lt%3B%20Set%20Scale(0%2C%2055)%3B%0Apcb%20%26lt%3B%26lt%3B%20Lower(%5B10%2C%2020%5D)%3B%0Apcb%20%26lt%3B%26lt%3B%20Upper(%5B30%2C%2050%5D)%3B%0Apcb%20%26lt%3B%26lt%3B%20Set%20Reference%20Line(11)%3B%0A%0Apcb%20%26lt%3B%26lt%3B%20Set%20primary%20interval%20line%20properties(%22Red%22%2C%20%22Red%22%2C%20%22Green%22)%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-1730908788200.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1730908788200.png%22%20style%3D%22width%3A%20122px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F69910i508C62C50CC56744%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22jthi_0-1730908788200.png%22%20alt%3D%22jthi_0-1730908788200.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
RahBarroso
Level II

How to change interval lines on Plot Col Boxes

 

Hello,

 

I’m trying to create a table box report from student t-test results that I can use for a report. When you run a students t-test in the Fit Y by X platform, each run has a Plot Col Box that shows the difference, lower and upper CL as a range, which is coloured by whether the CL’s cross the reference line of 0 difference.

RahBarroso_0-1730905102778.png

 

RahBarroso_1-1730905102780.png

 

 

The challenge I’m having is when I try to recreate this and bring in a Plot Col Box, when I add a reference line, the points turn red, regardless of whether they have crossed the CL (See the same data below, plotted in my tablebox).

RahBarroso_2-1730905102781.png

 

 

I have found ‘set interval line properties’ in the Scripting Index but there is no guide for how to use it, you can see in the attached script I have tried to use it to set the properties to match those found in the Fit Y by X report, but no change happens, and the reported values change away from the values I have set them to. The Plot Col Box has options to change the bar colour when the plot type is set to bars, but I don’t see any easy way to change intervals.

 

Any clarification would be appreciated!

 

Thanks!

 

1 REPLY 1
jthi
Super User

Re: How to change interval lines on Plot Col Boxes

Maybe this example provides some help

Names Default To Here(1);
New Window("Example",
	Table Box(pcb = Plot Col Box("Probability", {25, 45}))
);
pcb << Set Plot Style("Interval");
pcb << Set Scale(0, 55);
pcb << Lower([10, 20]);
pcb << Upper([30, 50]);
pcb << Set Reference Line(11);

pcb << Set primary interval line properties("Red", "Red", "Green");

jthi_0-1730908788200.png

 

-Jarmo

Recommended Articles