KSdensity 2D density histogram plot

3 visualizaciones (últimos 30 días)
Rebecca
Rebecca el 26 de Nov. de 2013
Respondida: Peter Perkins el 29 de Nov. de 2013
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?

Respuestas (2)

Peter Perkins
Peter Perkins el 26 de Nov. de 2013
Rebecca, you might look at this File Exchange submission:
  1 comentario
Rebecca
Rebecca el 26 de Nov. de 2013
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

Iniciar sesión para comentar.


Peter Perkins
Peter Perkins el 29 de Nov. de 2013
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.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by