MATLAB Answers


maximum value in scatter plot

i have made a scatter plot using 'dscatter' for dihedral angles. how can we find out the values corresponding to most densely populated bins ?


Sign in to comment.

1 Answer

Answer by Bjorn Gustavsson on 16 Sep 2019
 Accepted Answer

Well that sounds like a task for histogram2, or any of the number of 2-D histogram functions available on the file exchange. They will let you specify the bin-geometry and then calculate the number of data-points in each bin.

  1 Comment

thank you for the suggestion.
will try the same.

Sign in to comment.