cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Register for our Discovery Summit 2024 conference, Oct. 21-24, where you’ll learn, connect, and be inspired.
%3CLINGO-SUB%20id%3D%22lingo-sub-195334%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3Eforza%20tutti%20i%20livelli%20dell'istogramma%20sul%20grafico%20a%20barre%2C%20anche%20se%20count%20%3D%200%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-195334%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3ECiao%20-%20sto%20facendo%20grafici%20a%20istogrammi%20multipli%20con%209%20livelli%20categoriali%20possibili%20-%20vorrei%20che%20tutti%20i%209%20livelli%20mostrassero%20sull'asse%2C%20anche%20se%20il%20conteggio%20delle%20frequenze%20%C3%A8%20zero%20per%20un%20determinato%20bin%20su%20un%20istogramma%20specifico%20...%20C'%C3%A8%20un%20modo%20per%20forzare%20i%20conteggi%20zero%20da%20mostrare%20sull'asse%20del%20grafico%20(ad%20esempio%2C%20il%20raccoglitore%20%C3%A8%20incluso%20sull'asse%2C%20ma%20non%20vi%20%C3%A8%20alcuna%20barra%20dal%20conteggio%20%3D%200)%3F%20Penso%20che%20avere%20tutti%20i%20livelli%20su%20ciascun%20grafico%20render%C3%A0%20pi%C3%B9%20facile%20il%20confronto%20tra%20i%20grafici.%20in%20questo%20momento%20ho%20provato%20a%20usare%20l'icona%20di%20distribuzione%2C%20ma%20ogni%20istogramma%20che%20crea%20ha%20un%20diverso%20assortimento%20di%20livelli%20categoriali.%20Sto%20usando%20JMP%2013.2.1%3C%2FP%3E%3CP%3Egrazie%20in%20anticipo%20per%20qualsiasi%20idea%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-195337%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERi%3A%20forza%20tutti%20i%20livelli%20dell'istogramma%20sul%20grafico%20a%20barre%2C%20anche%20se%20count%20%3D%200%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-195337%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3Egrazie!%20il%20tuo%20consiglio%20ha%20fatto%20il%20trucco!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-195336%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERi%3A%20forza%20tutti%20i%20livelli%20dell'istogramma%20sul%20grafico%20a%20barre%2C%20anche%20se%20count%20%3D%200%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-195336%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EPresumo%20che%20tu%20stia%20usando%20Graph%20Builder.%20Ci%20possono%20essere%20modi%20migliori%20per%20farlo%2C%20ma%20dovrebbe%20funzionare.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERaccomanderei%20di%20utilizzare%20la%20propriet%C3%A0%20Order%20Ordering%20in%20modo%20che%20ogni%20grafico%20abbia%20lo%20stesso%20ordine%20sull'asse%20x.%3C%2FP%3E%0A%3CP%3EQuindi%20aggiungi%20una%20colonna%20di%20tutti%20i%201%20al%20tavolo%2C%20chiama%20questa%20colonna%20Freq.%20usa%20un%20ruolo%20preselezionato%20di%20Frequenza%20per%20questa%20colonna.%3C%2FP%3E%0A%3CP%3EOra%20ogni%20volta%20che%20si%20ha%20un%20grafico%20in%20cui%20manca%20un%20livello%2C%20aggiungere%20il%20livello%2C%20ma%20inserire%20uno%200%20nella%20colonna%20Freq.%20Questo%20dovrebbe%20farlo%20apparire%20sul%20grafico.%3C%2FP%3E%0A%3CP%3EHo%20incluso%20un%20file%20di%20esempio%20con%20un%20esempio%20in%20cui%20manca%20il%20livello%20D.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-774131%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERi%3A%20forza%20tutti%20i%20livelli%20dell'istogramma%20sul%20grafico%20a%20barre%2C%20anche%20se%20count%20%3D%200%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-774131%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2FJMP-Wish-List%2FColumn-Property-Inclusive-Values%2Fm-p%2F730865%23U730865%22%20class%3D%22lia-mention-container-editor-message%20lia-img-icon-idea-thread%20lia-fa-icon%20lia-fa-idea%20lia-fa-thread%20lia-fa%22%20target%3D%22_blank%22%3E%3CLI-EMOJI%20id%3D%22lia_folded-hands%22%20title%3D%22%3Amanos_unidas_para_la_oraci%C3%B3n%3A%22%3E%3C%2FLI-EMOJI%3E%20Propriet%C3%A0%20della%20colonna%3A%20valori%20inclusivi%3C%2FA%3E%20%3C%2FP%3E%3CP%3Erisolver%C3%A0%20questo%20problema.%3CBR%20%2F%3E%3CBR%20%2F%3E%20inclusivo%3F%3CBR%20%2F%3E%20qual%20%C3%A8%20la%20parola%20migliore%20per%20descrivere%20questa%20funzionalit%C3%A0%3F%3CBR%20%2F%3E%20%22valori%20forzati%22%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
ksteinmann
Level I

force all histogram levels on bar graph, even if count = 0?

Hi - i am making mulitple histogram graphs with 9 categorical levels possible  - i would like all 9 levels to show on the axis, even if the frequency count is zero for a specific bin on a specific histogram... Is there a way to force zero counts to show on the graph axis (for example, the bin in included on the axis, but there is no bar since count = 0)? I think having all levels on each graph will make it easier for the reader to compare across graphs. right now i have tried using the distribution icon, but each histogram it creates has a different assortment of categorical levels. I am using JMP 13.2.1

thanks in advance for any ideas

1 ACCEPTED SOLUTION

Accepted Solutions

Re: force all histogram levels on bar graph, even if count = 0?

I assume you are using Graph Builder. There may be better ways to do this, but this should work.

 

I would recommend using the Value Ordering property so that each graph will have the same order on the x-axis.

Then add a column of all 1's to the table, call this column Freq. use a pre-selected role of Frequency for this column.

Now whenever you have a graph where a level is missing, add the level, but put a 0 in the Freq column. This should make it appear on the graph.

I have included a sample file with an example where level D is missing.

Dan Obermiller

View solution in original post

3 REPLIES 3

Re: force all histogram levels on bar graph, even if count = 0?

I assume you are using Graph Builder. There may be better ways to do this, but this should work.

 

I would recommend using the Value Ordering property so that each graph will have the same order on the x-axis.

Then add a column of all 1's to the table, call this column Freq. use a pre-selected role of Frequency for this column.

Now whenever you have a graph where a level is missing, add the level, but put a 0 in the Freq column. This should make it appear on the graph.

I have included a sample file with an example where level D is missing.

Dan Obermiller
ksteinmann
Level I

Re: force all histogram levels on bar graph, even if count = 0?

thank you! your advice did the trick!

hogi
Level XII

Re: force all histogram levels on bar graph, even if count = 0?

🙏 Column Property: Inclusive Values 

will fix this issue.

inclusive?
what's the best word to describe this functionality?
"forced values"?