Surface Plot from Scatterplot Data

I needed to create a surface plot where the height indicates the density of a scatterplot. Another way to thing of this is a surface histogram where the height is the frequency of that x,y coordinate in the data. The following notebook gives two methods to achieve this:

http://nbviewer.ipython.org/gist/amcdawes/4e712b11eaf4e7bfba43

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s