Looking for a good way to visualize data density
2 次查看(过去 30 天)
显示 更早的评论
I have a matrix A[20000x100] (data output from a Monte Carlo analysis) and a vector t[100], which represents time. I want to plot all 20000 simulations of A as the ordinate versus t as the absicca in an x-y scatter plot format. The values of A at each time step is any combination of 20000 positive real numbers from 0 to 1000 (not necessarily normally distirbuted) and we can assume t =1:1:100 for the purposes of this discussion.
Instead of simply plotting 20000 lines on top of each other, which ends up not being too informative becasue there are too many lines, I want to visualize in such a that the graph is informative about the density of the data at each instance of t. This is akin to plotting a histogram at each t but I prefer that the colormap representing the data density scales with the overall dataset instead of just the data density at each time step. In other words, if deep red represents the highest dentisy, I don't want to necessarily see a the deep red color at each time step. Need to white out parts where there is no A for the full range of y-axis.
Thank you.
2 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Distribution Plots 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!