Plot concentration range respectively density from 2D array
2 次查看(过去 30 天)
显示 更早的评论
Hello,
I have an array with two columns with measurement data. Now I want to show the concentration range of my measurement. It should be a histogram in form of something like a contour line plot or filled contour plot with a color bar which displays the current colormap (see pictures).
Version: R2012b
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/192665/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/192666/image.png)
.
2 个评论
jonas
2018-7-27
编辑:jonas
2018-7-27
"It should be a histogram in form of something like a contour line plot or filled contour plot with a color bar which displays the current colormap (see pictures)."
This sentence makes little sense to me. What is the nature of your data? What do you want on the colorbar, bin count?
As a sidenote, you should probably update your MATLAB.
采纳的回答
jonas
2018-7-27
See this thread on density plots using hist3 and contourf
https://se.mathworks.com/matlabcentral/answers/409660-can-i-use-contourf-with-two-matrices
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Contour Plots 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!