Hello,
I am trying to plot multiple intersecting lines from a given
array. In order to visualize the amount of crossing points I am
setting a certain alpha. However the crossings do not get darker as I
expected.
That is what I tried::
import numpy as np
import matplotlib.pyplot as plt
x = np.random.randn(1000)
y = np.random.randn(1000)
plt.plot(x, y, alpha=.2, lw=1)
plt.show()
What is the right way to do it?
Thanks & cheers,
Moritz
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users