I am trying to plot map data given in CSV format for performing robot localization. I have a numpy 2D array called map which indexes onto the probability value that the robot is at that grid position.
E.g. map[500, 375] = 0.75 means there is a 75% chance of the robot being at grid 500, 375.
Currently I am using matplotlib's surface_plot function to plot a 3D height map, but I wish to use matplotlib to plot a 2D color map where instead of height, the probability is represented by a particular color.
Any ideas on how can I do this?