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
> <syd...@me... <mailto:syd...@me...>> 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
|