How can I make a surface plot in python for data that is in external files (having three columns)? I referred to so many links online but it is really confusing.
I wrote you an example plotting a heat map with contour lines.
For more information look at the matplotlib website (http://matplotlib.org/index.html) preferable screen the examples in the 'gallery' and have a look at the code referring to the plot design of interest.
Definitely go for mayavi , either by using mlab or by importing your txt file in python assigning the array to a variable and then use mayavi.mlab.surf(x,y,z)