Plot concentration range respectively density from 2D array

2 Ansichten (letzte 30 Tage)
leonidas86
leonidas86 am 27 Jul. 2018
Beantwortet: jonas am 27 Jul. 2018
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
.
  2 Kommentare
jonas
jonas am 27 Jul. 2018
Bearbeitet: jonas am 27 Jul. 2018
"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.
leonidas86
leonidas86 am 27 Jul. 2018
I want to show how many value pairs fall in a specific area. So the colorbar should display the bin count.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

jonas
jonas am 27 Jul. 2018
See this thread on density plots using hist3 and contourf
https://se.mathworks.com/matlabcentral/answers/409660-can-i-use-contourf-with-two-matrices

Weitere Antworten (0)

Kategorien

Mehr zu Contour Plots finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by