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%3Ealle%20Histogrammebenen%20auf%20dem%20Balkendiagramm%20erzwingen%2C%20auch%20wenn%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%3EHallo%20-%20ich%20mache%20mehrere%20Histogrammgraphen%20mit%209%20kategorialen%20Ebenen%20m%C3%B6glich%20-%20ich%20m%C3%B6chte%2C%20dass%20alle%209%20Ebenen%20auf%20der%20Achse%20angezeigt%20werden%2C%20auch%20wenn%20die%20Frequenzz%C3%A4hlung%20f%C3%BCr%20ein%20bestimmtes%20Bin%20auf%20einem%20bestimmten%20Histogramm%20Null%20ist%20Gibt%20es%20eine%20M%C3%B6glichkeit%2C%20die%20Anzeige%20von%20Nullwerten%20auf%20der%20Diagrammachse%20zu%20erzwingen%20(z.%20B.%20ist%20die%20Ablage%20in%20der%20Achse%20enthalten%2C%20aber%20es%20gibt%20keinen%20Balken%20seit%20count%20%3D%200)%3F%20Ich%20denke%2C%20alle%20Ebenen%20in%20jedem%20Diagramm%20zu%20haben%2C%20wird%20es%20f%C3%BCr%20den%20Leser%20einfacher%20machen%2C%20Diagramme%20miteinander%20zu%20vergleichen.%20Im%20Moment%20habe%20ich%20versucht%2C%20das%20Verteilungssymbol%20zu%20verwenden%2C%20aber%20jedes%20Histogramm%2C%20das%20erstellt%20wird%2C%20hat%20eine%20andere%20Auswahl%20kategorialer%20Ebenen.%20Ich%20verwende%20JMP%2013.2.1%3C%2FP%3E%3CP%3Edanke%20im%20voraus%20f%C3%BCr%20alle%20ideen%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-195337%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20alle%20Histogramm-Pegel%20auf%20dem%20Balkendiagramm%20erzwingen%2C%20auch%20wenn%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%3EDanke%20dir!%20Dein%20Rat%20hat%20den%20Trick%20gemacht!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-195336%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20alle%20Histogramm-Pegel%20auf%20dem%20Balkendiagramm%20erzwingen%2C%20auch%20wenn%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%3EIch%20gehe%20davon%20aus%2C%20dass%20Sie%20den%20Graph%20Builder%20verwenden.%20M%C3%B6glicherweise%20gibt%20es%20bessere%20Wege%2C%20aber%20das%20sollte%20funktionieren.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIch%20w%C3%BCrde%20empfehlen%2C%20die%20Value%20Ordering-Eigenschaft%20zu%20verwenden%2C%20damit%20jeder%20Graph%20auf%20der%20X-Achse%20dieselbe%20Reihenfolge%20hat.%3C%2FP%3E%0A%3CP%3EF%C3%BCgen%20Sie%20dann%20eine%20Spalte%20aller%20Einsen%20zur%20Tabelle%20hinzu.%20Rufen%20Sie%20diese%20Spalte%20Freq%20auf.%20Verwenden%20Sie%20f%C3%BCr%20diese%20Spalte%20eine%20vorgew%C3%A4hlte%20Frequenzrolle.%3C%2FP%3E%0A%3CP%3EWenn%20Sie%20nun%20ein%20Diagramm%20haben%2C%20in%20dem%20ein%20Level%20fehlt%2C%20f%C3%BCgen%20Sie%20das%20Level%20hinzu%2C%20setzen%20Sie%20jedoch%20eine%200%20in%20die%20Spalte%20Freq.%20Dies%20sollte%20es%20in%20der%20Grafik%20erscheinen%20lassen.%3C%2FP%3E%0A%3CP%3EIch%20habe%20eine%20Beispieldatei%20mit%20einem%20Beispiel%20beigef%C3%BCgt%2C%20in%20dem%20Stufe%20D%20fehlt.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-774131%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EBetreff%3A%20Alle%20Histogrammebenen%20im%20Balkendiagramm%20erzwingen%2C%20auch%20wenn%20die%20Anzahl%20%3D%200%20ist%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%20Spalteneigenschaft%3A%20Inklusive%20Werte%3C%2FA%3E%20%3C%2FP%3E%3CP%3Ewird%20dieses%20Problem%20beheben.%3CBR%20%2F%3E%3CBR%20%2F%3E%20inklusive%3F%3CBR%20%2F%3E%20Welches%20Wort%20beschreibt%20diese%20Funktionalit%C3%A4t%20am%20besten%3F%3CBR%20%2F%3E%20%22erzwungene%20Werte%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"?