그래서이 가이드가 : http://matplotlib.org/examples/pylab_examples/scatter_symbol.html 하기 matplotlib 사용자 정의 마커/기호
# http://matplotlib.org/examples/pylab_examples/scatter_symbol.html
from matplotlib import pyplot as plt
import numpy as np
import matplotlib
x = np.arange(0.0, 50.0, 2.0)
y = x ** 1.3 + np.random.rand(*x.shape) * 30.0
s = np.random.rand(*x.shape) * 800 + 500
plt.scatter(x, y, s, c="g", alpha=0.5, marker=r'$\clubsuit$',
label="Luck")
plt.xlabel("Leprechauns")
plt.ylabel("Gold")
plt.legend(loc=2)
plt.show()
그러나 당신은 나를 좋아하고 ... clubsuit 마커를 사용하지 않으려면
방법 자신의 표식을 _________ (으)로 만드시겠습니까?
from matplotlib import pyplot as plt
import numpy as np
import matplotlib
x = np.arange(0.0, 50.0, 2.0)
y = x ** 1.3 + np.random.rand(*x.shape) * 30.0
s = np.random.rand(*x.shape) * 800 + 500
plt.plot(x, y, "ro", alpha=0.5, marker=r'$\clubsuit$', markersize=22)
plt.xlabel("Leprechauns")
plt.ylabel("Gold")
plt.show()
당신은 [이]를 살펴 있었다 (http://stackoverflow.com/q/2318288/1025391)? – moooeeeep
예, 실제로 있습니다. 그러나 그것은 나를 위해 잘되지 않았다. Matplotlib 예제 코드에 대해 내가 좋아하는 것은 'c = "g"'로, 음영에 대한 색상 조정으로 해석합니다 (테스트 할 시점에 파이썬 셸이 없음). – Norfeldt