DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you make a 2D histogram percentage based instead of count?

Solved!
Go to solution

I have made a 2D histogram using 2 channels for the x and y-axis along with a count of how often the channels are in each section for the z-axis. A small image is attached. I made this using the Compound Classification under the Statistics tab on the Analysis page. I then got the files CompoundClassificationX, CompoundClassificationY, and a lot of CompoundClassificationZ files.

Capture.PNG

Is there an option to make this chart percentage based off of the total rather than the sample counts? 

 

I think I would need to find a total sum number of all of the CompoundClassificationZ files and then divide all of those files by that sum. And then divide it by 100 to get a percentage. But I'm not sure how to do any of that.

 

Thank you for helping.

 

 

 

2D Histogram Example2D Histogram Example.

0 Kudos
Message 1 of 3
(2,788 Views)
Solution
Accepted by topic author jg12345

I figured out the answer. You need to take all those z-values, click on the 3D tab, arithmetic, and then relativize. This gives the values of the amount per total in percentage. Then you use all of those new z-values and put them in a 3D table.

0 Kudos
Message 2 of 3
(2,728 Views)

@jg12345 wrote:

I figured out the answer. You need to take all those z-values, click on the 3D tab, arithmetic, and then relativize. This gives the values of the amount per total in percentage. Then you use all of those new z-values and put them in a 3D table. google street view


Many thanks for that, exactly what I was looking for.

0 Kudos
Message 3 of 3
(2,392 Views)