Hey Matplotlib Community,

         I am trying to create a standard line plot and then overlay a 
fill_between plot that would partly grey out the line plot.  The code 
snippet I am interested in is:

import matplotlib.pyplot as plot
fig = plot.figure()
p1 = fig.add_subplot(111)
p1.plot(x,y1,'r',linewidth=5)
p1.fill_between(x,0,y2,color='k',alpha='0.7')

However, the fill_between plot is not actually covering the line plot.  
Is there another keyword I should be using?

Thanks!
Terry

-- 
P. Therese Lang
Post Doc
Alber Lab, UC Berkeley


------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to