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%3E%E5%BC%BA%E5%88%B6%E6%9D%A1%E5%BD%A2%E5%9B%BE%E4%B8%8A%E7%9A%84%E6%89%80%E6%9C%89%E7%9B%B4%E6%96%B9%E5%9B%BE%E6%B0%B4%E5%B9%B3%EF%BC%8C%E5%8D%B3%E4%BD%BFcount%20%3D%200%EF%BC%9F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-195334%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E5%97%A8%20-%20%E6%88%91%E6%AD%A3%E5%9C%A8%E5%88%B6%E4%BD%9C%E5%8F%AF%E8%83%BD%E6%9C%899%E4%B8%AA%E5%88%86%E7%B1%BB%E7%BA%A7%E5%88%AB%E7%9A%84%E5%A4%9A%E4%B8%AA%E7%9B%B4%E6%96%B9%E5%9B%BE%20-%20%E6%88%91%E6%83%B3%E5%9C%A8%E8%BD%B4%E4%B8%8A%E6%98%BE%E7%A4%BA%E6%89%80%E6%9C%899%E4%B8%AA%E7%BA%A7%E5%88%AB%EF%BC%8C%E5%8D%B3%E4%BD%BF%E7%89%B9%E5%AE%9A%E7%9B%B4%E6%96%B9%E5%9B%BE%E4%B8%8A%E7%89%B9%E5%AE%9A%E5%8C%BA%E5%9F%9F%E7%9A%84%E9%A2%91%E7%8E%87%E8%AE%A1%E6%95%B0%E4%B8%BA%E9%9B%B6...%20%E6%9C%89%E6%B2%A1%E6%9C%89%E5%8A%9E%E6%B3%95%E5%BC%BA%E5%88%B6%E9%9B%B6%E7%82%B9%E8%AE%A1%E6%95%B0%E6%98%BE%E7%A4%BA%E5%9C%A8%E5%9B%BE%E5%BD%A2%E8%BD%B4%E4%B8%8A%EF%BC%88%E4%BE%8B%E5%A6%82%E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B%B4%E6%96%B9%E5%9B%BE%E7%BA%A7%E5%88%AB%EF%BC%8C%E5%8D%B3%E4%BD%BFcount%20%3D%200%EF%BC%9F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-195337%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E8%B0%A2%E8%B0%A2%EF%BC%81%E4%BD%A0%E7%9A%84%E5%BB%BA%E8%AE%AE%E6%88%90%E5%8A%9F%E4%BA%86%EF%BC%81%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%EF%BC%9A%E5%BC%BA%E5%88%B6%E6%9D%A1%E5%BD%A2%E5%9B%BE%E4%B8%8A%E7%9A%84%E6%89%80%E6%9C%89%E7%9B%B4%E6%96%B9%E5%9B%BE%E7%BA%A7%E5%88%AB%EF%BC%8C%E5%8D%B3%E4%BD%BFcount%20%3D%200%EF%BC%9F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-195336%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E6%88%91%E5%81%87%E8%AE%BE%E6%82%A8%E6%AD%A3%E5%9C%A8%E4%BD%BF%E7%94%A8Graph%20Builder%E3%80%82%E5%8F%AF%E8%83%BD%E6%9C%89%E6%9B%B4%E5%A5%BD%E7%9A%84%E6%96%B9%E6%B3%95%E6%9D%A5%E5%81%9A%E5%88%B0%E8%BF%99%E4%B8%80%E7%82%B9%EF%BC%8C%E4%BD%86%E8%BF%99%E5%BA%94%E8%AF%A5%E6%9C%89%E6%95%88%E3%80%82%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%E6%88%91%E5%BB%BA%E8%AE%AE%E4%BD%BF%E7%94%A8Value%20Ordering%E5%B1%9E%E6%80%A7%EF%BC%8C%E4%BB%A5%E4%BE%BF%E6%AF%8F%E4%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22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E5%BC%BA%E5%88%B6%E6%9D%A1%E5%BD%A2%E5%9B%BE%E4%B8%8A%E7%9A%84%E6%89%80%E6%9C%89%E7%9B%B4%E6%96%B9%E5%9B%BE%E7%BA%A7%E5%88%AB%EF%BC%8C%E5%8D%B3%E4%BD%BF%E8%AE%A1%E6%95%B0%20%3D%200%EF%BC%9F%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%20%E5%88%97%E5%B1%9E%E6%80%A7%EF%BC%9A%E5%8C%85%E5%AE%B9%E6%80%A7%E5%80%BC%3C%2FA%3E%20%3C%2FP%3E%3CP%3E%E5%B0%86%E4%BF%AE%E5%A4%8D%E6%AD%A4%E9%97%AE%E9%A2%98%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E5%8C%85%E6%8B%AC%E7%9A%84%EF%BC%9F%3CBR%20%2F%3E%E4%BB%80%E4%B9%88%E8%AF%8D%E8%AF%AD%E6%9C%80%E9%80%82%E5%90%88%E6%8F%8F%E8%BF%B0%E6%AD%A4%E5%8A%9F%E8%83%BD%EF%BC%9F%3CBR%20%2F%3E%20%E2%80%9C%E5%BC%BA%E5%88%B6%E4%BB%B7%E5%80%BC%E8%A7%82%E2%80%9D%EF%BC%9F%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"?