KSdensity 2D density histogram plot

조회 수: 3 (최근 30일)
Rebecca
Rebecca 2013년 11월 26일
답변: Peter Perkins 2013년 11월 29일
I'm trying to convert mathematica's SmoothDensityHistogram into matlab. I can obtain the smooth histogram, by plotting the pdf fro ksdensity but not the 2D density histogram. Any suggestions?

답변 (2개)

Peter Perkins
Peter Perkins 2013년 11월 26일
Rebecca, you might look at this File Exchange submission:
  댓글 수: 1
Rebecca
Rebecca 2013년 11월 26일
I looked at that. It doesn't make a plot like these http://reference.wolfram.com/mathematica/ref/SmoothKernelDistribution.html
When I use the matlab function i get this
and when I use mathematica I get this

댓글을 달려면 로그인하십시오.


Peter Perkins
Peter Perkins 2013년 11월 29일
It does make plots like the ones you pointed to, as demonstrated by the images on the FEX download page. You've provided no information, so there's no way of telling what's going wrong.

Community Treasure Hunt

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

Start Hunting!

Translated by