I have some discrete data in the form {{x1,y1},{x2,y2},...}
and when I produce a ListLogLogPlot
they look like this:
I would like to produce a density plot or map saying, how much packed the points are (I am not really sure, how this should be achieved though, my first idea is take a circle of a fixed radius centered on a given point and count how many neighbours there are and based on that assign value/colour but maybe this is nonsense). I found the most likely candidate to be SmoothDensityHistogram
but it produces this (I admit, I do not understand this function much, I read help, but there everything works perfectly however they generate the data syntetically):
But if I look at the first plot, quite obviously the plot I want should look like "a hot area in the center with tails to the north and east". There is an ovious another issue, how to force log scales to SmoothDensityHistogram
, because when I use
SmoothDensityHistogram[smbdataSpin[[All, 1 ;; 2]], 0.1,
ScalingFunctions -> {Log, Log}]
I get something even more strange:
The data that produce the first plot can be obtained here.
ListDensityPlot
? $\endgroup${{1,1},{2,2}}
would have the highest value of density in the top right corner but that is incorrect as it says nothing about the density of points in the plot. $\endgroup$SmoothDensityHistogram
should work, but there seems to be an issue with theScalingFunctions
option. $\endgroup$SmoothKernelDistribution[smbdataSpin[[All, 1 ;; 2]]]
. $\endgroup$