cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
%3CLINGO-SUB%20id%3D%22lingo-sub-536903%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EEst-il%20possible%20d'avoir%20deux%20plages%20de%20r%C3%A9f%C3%A9rence%20diff%C3%A9rentes%26nbsp%3B%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-536903%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EJe%20dois%20ajouter%20deux%20plages%20de%20r%C3%A9f%C3%A9rences%20diff%C3%A9rentes%20%C3%A0%20mon%20graphique.Est-ce%20possible%3F%20Dans%20l%E2%80%99exemple%20de%20graphique%20ci-dessous%2C%20je%20souhaite%20que%20la%20plage%20soit%20diff%C3%A9rente%20pour%20les%20hommes%20et%20pour%20les%20femmes.J'ai%20appris%20%C3%A0%20ajouter%20une%20plage%20de%20r%C3%A9f%C3%A9rence%2C%20mais%20je%20ne%20veux%20pas%20qu'elle%20soit%20r%C3%A9p%C3%A9t%C3%A9e%20dans%20chaque%20groupe.%26nbsp%3B%20%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JMP%20Sample%20Data%202.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JMP%20Sample%20Data%202.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JMP%20Sample%20Data%202.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F44956iE792182150582309%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22JMP%20Sample%20Data%202.PNG%22%20alt%3D%22JMP%20Sample%20Data%202.PNG%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-536903%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CLINGO-LABEL%3EMod%C3%A9lisation%20statistique%20avanc%C3%A9e%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EM%C3%A9lange%20et%20nettoyage%20des%20donn%C3%A9es%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPersonnalisation%20de%20masse%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-538469%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%20%3A%20Est-il%20possible%20d'avoir%20deux%20plages%20de%20r%C3%A9f%C3%A9rence%20diff%C3%A9rentes%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-538469%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3ELes%20lignes%20de%20r%C3%A9f%C3%A9rence%20sont%20diff%C3%A9rentes%20pour%20les%20m%C3%A2les%20et%20les%20femelles.Lorsque%20les%20hommes%20et%20les%20femmes%20sont%20saisis%20dans%202%20colonnes%20diff%C3%A9rentes%2C%20sur%20le%20m%C3%AAme%20axe%20y%2C%20les%202%20graphiques%20qu'ils%20produisent%20ont%20la%20capacit%C3%A9%20de%20changer%20les%20axes%20et%20de%20d%C3%A9finir%20des%20lignes%20de%20r%C3%A9f%C3%A9rence%20ind%C3%A9pendamment.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22txnelson_0-1661793099870.png%22%20style%3D%22width%3A%20741px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22txnelson_0-1661793099870.png%22%20style%3D%22width%3A%20741px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22txnelson_0-1661793099870.png%22%20style%3D%22width%3A%20741px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F45068i13DA4B5EE93FFDC7%2Fimage-dimensions%2F741x682%3Fv%3Dv2%22%20width%3D%22741%22%20height%3D%22682%22%20role%3D%22button%22%20title%3D%22txnelson_0-1661793099870.png%22%20alt%3D%22txnelson_0-1661793099870.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-538219%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%20%3A%20Est-il%20possible%20d'avoir%20deux%20plages%20de%20r%C3%A9f%C3%A9rence%20diff%C3%A9rentes%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-538219%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3ESalut%20Jim%2C%20je%20ne%20sais%20pas%20en%20quoi%20cela%20est%20diff%C3%A9rent%20du%20graphique%20que%20j'ai%20envoy%C3%A9%20%C3%A0%20l'origine.Il%20s'agit%20de%20deux%20graphiques%20diff%C3%A9rents%2C%20r%C3%A9partis%20par%20sexe.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-537032%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%20%3A%20Est-il%20possible%20d'avoir%20deux%20plages%20de%20r%C3%A9f%C3%A9rence%20diff%C3%A9rentes%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-537032%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EIl%20est%20possible%20de%20faire%20cela%20avec%20un%20peu%20de%20JSL.%20Une%20fois%20que%20vous%20avez%20cr%C3%A9%C3%A9%20le%20graphique%20mais%20sans%20aucune%20plage%20de%20r%C3%A9f%C3%A9rences%2C%20faites%20un%20clic%20droit%20dans%20la%20section%20Homme%20ou%20Femme%20du%20graphique%20et%20s%C3%A9lectionnez%20Personnaliser.%20%C3%80%20partir%20de%20l%C3%A0%2C%20cliquez%20sur%20le%20signe%20plus%20en%20haut%20%C3%A0%20gauche%20pour%20ajouter%20un%20nouvel%20%C3%A9l%C3%A9ment%20JSL.%20Utilisez%20la%20fonction%20Polygone%20de%20JSL%20pour%20dessiner%20un%20rectangle%20couvrant%20la%20partie%20du%20graphique%20correspondant%20%C3%A0%20votre%20plage%20pour%20ce%20groupe.%20Celui-ci%20sera%20dessin%C3%A9%20uniquement%20dans%20la%20section%20du%20graphique%20sur%20laquelle%20vous%20avez%20cliqu%C3%A9%20avec%20le%20bouton%20droit.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EVoici%20un%20exemple%20JSL%20pour%20votre%20groupe%20Femme%20(avec%20un%20remplissage%20noir%20%C3%A0%2025%26nbsp%3B%25%20de%20transparence).%20Les%20arguments%20de%20la%20fonction%20Polygone%20sont%20des%20coordonn%C3%A9es%20X%2CY%20dessin%C3%A9es%20dans%20l'ordre.%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ETransparency(%200.25%20)%3B%0AFill%20Color(%20%22black%22%20)%3B%0APolygon(%20%7B0%2C%2040%20%7D%2C%20%7B0%2C%2030%7D%2C%20%7B400%2C%2030%7D%2C%20%7B400%2C%2040%7D%20)%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3EVous%20pouvez%20ensuite%20r%C3%A9p%C3%A9ter%20l'op%C3%A9ration%20pour%20la%20section%20du%20graphique%20du%20groupe%20masculin%2C%20en%20%C3%A9changeant%20les%20coordonn%C3%A9es%20X%2C%20Y%20appropri%C3%A9es%20pour%20ce%20groupe.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-537025%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%20%3A%20Est-il%20possible%20d'avoir%20deux%20plages%20de%20r%C3%A9f%C3%A9rence%20diff%C3%A9rentes%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-537025%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3ELa%20solution%20implique%20la%20division%20du%20tableau%20de%20donn%C3%A9es%20par%20sexe%2C%20vous%20disposez%20donc%20d'une%20colonne%20Homme%20et%20d'une%20colonne%20Femme.Ensuite%2C%20vous%20faites%20glisser%20la%20colonne%20Femme%20vers%20l'axe%20Y%2C%20puis%20faites%20glisser%20la%20colonne%20Homme%20vers%20l'axe%20Y%2C%20mais%20en%20l'ajoutant%20plus%20bas%20sur%20l'axe.Cela%20cr%C3%A9era%20un%20deuxi%C3%A8me%20graphique%2C%20auquel%20vous%20pourrez%20ensuite%20ajouter%20diff%C3%A9rentes%20lignes%20de%20r%C3%A9f%C3%A9rence%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22txnelson_0-1661366877139.png%22%20style%3D%22width%3A%20896px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22txnelson_0-1661366877139.png%22%20style%3D%22width%3A%20896px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22txnelson_0-1661366877139.png%22%20style%3D%22width%3A%20896px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F44959i1EDB17117BC5FAB9%2Fimage-dimensions%2F896x806%3Fv%3Dv2%22%20width%3D%22896%22%20height%3D%22806%22%20role%3D%22button%22%20title%3D%22txnelson_0-1661366877139.png%22%20alt%3D%22txnelson_0-1661366877139.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar

Is it possible to have two different Reference Ranges?

I need to add two different references ranges to my graphic.  Is that possible? In the sample graphic below, I want the range to be different for males as it is for females.  I have learned how to add a reference range, but I dont want it repeated in each group.   JMP Sample Data 2.PNG

4 REPLIES 4
txnelson
Super User

Re: Is it possible to have two different Reference Ranges?

The solution involves the splitting of the data table by sex, so you have a Male column and a Female column.  Then you drag the Female column to the Y axis, and then drag the Male column to the Y axis, but adding it lower on the axis.  It will create a second graph, which you can then add different reference lines

txnelson_0-1661366877139.png

 

 

Jim

Re: Is it possible to have two different Reference Ranges?

Hi Jim, I am not sure how that is different than the graphic I sent originally.  It is two different graphs, split by sex. 

txnelson
Super User

Re: Is it possible to have two different Reference Ranges?

The reference lines are different for the males and females.  When the males and females are entered as 2 different columns, on the same y axis, the 2 graphs they produce have the ability to changes the axes, and set reference lines independently.

txnelson_0-1661793099870.png

 

Jim

Re: Is it possible to have two different Reference Ranges?

It's possible to do this with a little JSL. Once you have the graph made but without any references ranges, right click inside either the Male or Female section of the graph and select Customize. From there, click the plus sign on the top left to add a new JSL element. Use JSL's Polygon function to draw a rectangle spanning the part of the graph corresponding to your range for that group. This will be drawn only in the section of the graph you right clicked in.

 

Here's example JSL for your Female group (with a black fill at 25% transparency). The arguments in the Polygon function are X,Y coordinates drawn in order.

Transparency( 0.25 );
Fill Color( "black" );
Polygon( {0, 40 }, {0, 30}, {400, 30}, {400, 40} );

You can then repeat for the Male group's section of the graph, swapping in the proper X,Y coordinates for that group.

Ross Metusalem
JMP Academic Ambassador