python - Matplotlib transparent line plots -


i plotting 2 similar trajectories in matplotlib , i'd plot each of lines partial transparency red (plotted second) doesn't obscure blue.

alt text

edit: here's image transparent lines.

alt text

plain , simple:

plt.plot(x, y, 'r-', alpha=0.7) 

(i know add nothing new, straightforward answer should visible).


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -