From: Ross Anderson on
I use hist3(m_by_2_matrix) to make a histogram. I'm making a movie of the way the histogram changes over time. At certain times, m_by_2_matrix is empty. Is it possible to create a histogram with empty data? hist3([0 0]) makes a single spike at 0. I'd like a flat histogram of all 0s to fill the plot at this time step
From: someone on
"Ross Anderson" <rpa5nospam(a)cornell.edu> wrote in message <i22pkl$6tt$1(a)fred.mathworks.com>...
> I use hist3(m_by_2_matrix) to make a histogram. I'm making a movie of the way the histogram changes over time. At certain times, m_by_2_matrix is empty. Is it possible to create a histogram with empty data?

Why not try it and see what happens?

hist3([0 0]) makes a single spike at 0. I'd like a flat histogram of all 0s to fill the plot at this time step