>> Thanks, your example works but what I must do so to plot for example 
y=cos x
>> ? I'm a very beginner.
>
>  line, = ax.plot(x, np.cos(x))
>  patch = patches.Circle((300,300), radius=100)
>  line.set_clip_path(patch)
>
>Everything in the matplotlib figure is an "Artist" (lines, images,
>text, rectangles) and you can set the clippath of any artist.  See
>
>  http://matplotlib.sourceforge.net/users/artists.html
>  http://matplotlib.sourceforge.net/api/artist_api.html
>
>JDH


Thanks a lot ! I'll look more precisely the concept of artist later.

Best regards.
Christophe.


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to