I have a large 2D dataset where I want to associate to each X,Y pair a color and plot it with matplotlib. I am talking about 1000000 points. I wonder what is the best approach in terms of performance (speed) and if you could point to some example
Share
If you’re dealing with a regular grid, just treat it as an image:
If you have randomly ordered x,y,z triplets that make up a regular grid, then you’ll need to grid them.
Essentially, you might have something like this: