How Do I Plot Color Distribution of HSV Image in MATLAB
Have a look at File Exchange Submission - RGB/HSV Distribution on  visualization of RGB/HSV distribution in a given image:



hsv_distribution(inputImage, 5)


It should do what you're after as the result is like: