What is a nice way to graph bivariate probability mass functions?

Metronome

Junior Member
Joined
Jun 12, 2018
Messages
103
I am seeking a method for graphing probability mass functions in three dimensions, such as bivariate probability mass functions. What I actually want to graph is not exactly the Cartesian product of two random variables, but the Cartesian product of one random variable and one ordinary independent variable, so it might not technically be a bivariate probability mass function. For example, I might make one of the horizontal axes [imath]n[/imath], and each slice of the graph constant in [imath]n[/imath] would contain the univariate probability mass function associated with summing the rolls of [imath]n[/imath] 6-sided dice, perhaps normalized in some way to account for the inconvenience of the support changing at each slice.

My preferred tool is Mathematica, but I also have MATLAB, and any free web tool could possibly work (although I may want to get a bit more sophisticated by adding other curves and such to the graph). How can I achieve this?
 
Top