hi,
is it possible to draw unfilled scatter points?
i want to use an unfilled 'o' marker with a dashed border to
represent the 'expected' data, as opposed to the observed data.
i can make the border dashed but haven't figured out how to
make the marker not filled.
any idea?
thanks!
···
--
Ernest
2009/10/5 Ernest Adrogué <eadrogue@...361...>:
is it possible to draw unfilled scatter points?
Yes, try the following
import numpy as np
import matplotlib.pyplot as plt
x = np.random.rand(10)
y = np.random.rand(10)
plt.scatter(x, y, facecolor='none')
plt.show()
Also take a look at
http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.scatter
Cheers,
Scott