📜  matplotlib 橙色线 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:30.742000             🧑  作者: Mango

代码示例1
# credit to the Stack Overflow user in the source link
# choose one of these three possibilities

plt.plot(x, z3, '--', color='orange')           % String colorspec
plt.plot(x, z3, '--', color='#FFA500')          % Hex colorspec
plt.plot(x, z3, '--', color=[1.0, 0.5, 0.25])   % RGB colorspec