Linked Questions
44 questions linked to/from Generate a heatmap using a scatter data set
51 votes
6 answers
23k views
Efficient method of calculating density of irregularly spaced points
I am attempting to generate map overlay images that would assist in identifying hot-spots, that is areas on the map that have high density of data points. None of the approaches that I've tried are ...
26 votes
3 answers
67k views
Scatter plot with a huge amount of data
I would like to use Matplotlib to generate a scatter plot with a huge amount of data (about 3 million points). Actually I've 3 vectors with the same dimension and I use to plot in the following way. ...
7 votes
2 answers
13k views
How can I use a pre-made color map for my heat map in matplotlib?
I want to use a color map for my matplotlib heat map. I tried doing this: myHeatMap.imshow(heatMap, extent=ext, cmap=get_cmap(cm.datad["Spectral"])) However, the Python interpreter ...
4 votes
1 answer
9k views
Generate a heatmap in MatPlotLib using a scatter data set
My question is almost exactly similar to this one. However, I'm not satisfied with the answers, because I want to generate an actual heatmap, without explicitely binning the data. To be precise, I ...
8 votes
1 answer
6k views
heatmap in matplotlib with vector format
I'm trying to use matplotlib to plot 3D heatmap with results of my simulations. I've read this topic and tried to use imshow. Unfortunately, when I save the figure in SVG or EPS formats, it converts ...
4 votes
3 answers
10k views
Python: How to plot a heatmap for coordinates with different color intensity or different radius of circles?
Given some data in three lists, for example: latitudes = [50.877979278564,48.550216674805,47.606079101562,50.772491455078,42.451354980469,43.074657440186,44.044174194336,44.563243865967,52....
2 votes
1 answer
5k views
Is there a tutorial for creating a hexbin heat map using Matplotlib? [closed]
I'm trying to learn how to do a heatmap in Python using matplotlib. I'm going to be plotting a series of locations in a huge X,Y grid based off of an array of tuples. I found this code example which ...
3 votes
2 answers
4k views
How can one create a heatmap from a 2D scatterplot data in Python?
How can one create a heatmap from a 2D scatterplot data in Python, where for each (x,y) point in the scatterplot one has a z value associated to it? The z value will be the value used to color the ...
2 votes
2 answers
5k views
Heat Map Python
I am trying to plot a heat map. The data that I use has Geo coordinates and time in seconds. The nature of data is edges encounter each other at certain geo location and spend some time connected. ...
6 votes
2 answers
3k views
How to generate heat map on the Whole Slide Images (.svs format) using some probability values?
I am trying to generate heat map, or probability map, for Whole Slide Images (WSIs) using probability values. I have coordinate points (which determine areas on the WSIs) and corresponding probability ...
3 votes
2 answers
6k views
Generating a frequency heatmap in Python MatPlotLib reading in X and Y coordinates from a .csv file
I recently stumbled upon a similar question about how to generate a heatmap of frequencies in Python using the MatPlotLib module. This post was very useful and I could get the individual scripts to ...
0 votes
3 answers
3k views
Python - Randomly subsamble a range of points to plot
I have two lists, x and y, that I wish to plot together in a scatter plot. The lists contain too many data points. I would like a graph with much less points. I cannot crop or trim these lists, I ...
5 votes
1 answer
2k views
sunflower scatter plot using matplotlib
I am interested in constructing a sunflower scatter plot (as depicted in, for example, http://www.jstatsoft.org/v08/i03/paper [PDF link]). Before I write my own implementation, does anyone know of an ...
0 votes
2 answers
6k views
Generating a heatmap with a scatter data set
I have a set of (x, y) data points, and each point has an attached value to it. I'd like to create a heatmap that uses the attached value to determine color, and uses color intensity/transparency to ...
1 vote
2 answers
6k views
Generating Heatmaps in Python
I want to produce a heatmap image akin to the one in this answer. The difference is that I want to do it from a 2d array of values between 0 and 1. What I have tried: def generate_x_y_vectors(...