I can fill between curves using either:

xs, ys = poly_between(x, y1, y2)
ax = gca()
ax.fill(xs,ys, facecolor='b', alpha=0.5)

or 

xs = concatenate((x,x[::-1]))
ys = concatenate((y1,y2[::-1]))
p = fill(xs,ys,facecolor='b', alpha=0.5)

giving

http://www.nabble.com/file/p20038095/good.png 

But, if I try to do either on a semilogy plot, I get a strange looking
combination of reflected-looking polygons.

http://www.nabble.com/file/p20038095/bad.png 

Any ideas?
-- 
View this message in context: 
http://www.nabble.com/fill-between-curves-on-log-scale--tp20038095p20038095.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to