I want to draw a 2D probability density map diagrammatic sketch using tikz.

image link

However, I can not find similar example online. Is it possible to draw similar figures using tikz? Thanks!


You can use the pgfplots package to easily produce such plots in tikz:



    \addplot3 [surf] {exp(-sqrt(x^2 + y^2))};


enter image description here

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.