On 12/02/2015 17:00, Paul Hobson wrote:
Definitely. Assuming you don't want to do this in an interactive manner (i.e. pointing and clicking with your mouse:

fig, ax  = plt.subplots()
ax.contour(...)
ax.plot(x_dots, y_dots, 'ro', label='Dots')
-p

On Thu, Feb 12, 2015 at 8:07 AM, Dr Sydney Shall <sydney.sh...@meshnet.fr <mailto:sydney.sh...@meshnet.fr>> wrote:

    I am a beginner and I use Python 2.7 on an iMac OSX 10.9.5. Python is
    the Enthought installation.
    I am doing simulation experiments. I have constructed a 2D contour map
    with my results and I am happy with the result.
    I am wondering if it is possible to add the data points, say as red
    dots, on this contour map.
    I have not been able to find an equivalent example in gallery and I am
    too much a novice to know what to do.
    Any help would be much appreciated.

    --
    Sydney

Thanks Paul. Works perfectly.
I should have been able to work that out for myself, but my format was wrong.
Cheers.

--
Sydney

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to