how to density plot of a scatter plot?

Hi every one,I have scatter plotted of two vectors of the same dimension, how can I obtain the density plot of that? I've tried many functions such as "Density scatter", "dscatter" and etc but no one was useful. would you please give me some tips?

类别

在 帮助中心 和 File Exchange 中查找有关 Scatter Plots 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by