Hi,

I am trying to overplot symbols on a region filled (with pale grey
color) between two curves.
For some reason the filled region is always ON TOP of the symbols so
that I don't see them..

(I wanted to use transparency with alpha, but then it is to build a
postscript figure which does not support transparency, so this requires
me to first plot the filled region and then overplot the symbols...)

here is an example:

sampVS = arange(0.,1.,0.02)          
x = concatenate( (sampVS,sampVS[::-1]) )
alpha1 = 0.98486328
alpha2 = 1.28486328
y1 = alpha1 * sampVS / sqrt(1.+(alpha1 * sampVS)**2)
y2 = alpha2 * sampVS / sqrt(1.+(alpha2 * sampVS)**2)
y = concatenate( (y1,y2[::-1]) )
p = fill(x, y, facecolor=(0.9,0.9,0.9))
scatter([0.4],[0.4])

==> the symbol is hidden behind the filled region although it is plotted
afterwards...

thanks for any input here!!

Eric

-- 
====================================================================
Eric Emsellem                             [EMAIL PROTECTED]
                           Centre de Recherche Astrophysique de Lyon
9 av. Charles-Andre                        tel: +33 (0)4 78 86 83 84
69561 Saint-Genis Laval Cedex              fax: +33 (0)4 78 86 83 86
France                    http://www-obs.univ-lyon1.fr/eric.emsellem
====================================================================


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to