我有1.000.000点在图表上,我想看清楚。X轴(0.1到1000)和Y轴(0-1.2),但它似乎我有一个块,我不能读它。我已经试图减少标记大小,但它仍然没有帮助我读它。有没有反正我可以看清楚
以下是我提供数据的代码:
d50 = 0.15*10**(-3)
D = 0.4
mean =
sd = 1
fi = 20
n = np.random.normal(mean, sd, 10000)
count, bins, ignored = plt.hist(n, 30, density=True)
for i in range(0, 105): # Calculations to make point's Y axis and X axis
x = []
y = []
Re = 0.1 * (1.1**i)
B = e ** (-0.08 * Re) * (2.5 * np.log(Re) + 5.25) + 8.5 * (1 - e ** (-0.08 * Re))
C = 0.8+0.9*((e**(-0.08*Re)/(Re**2))+((1-e**(-0.08*Re))/(B**2)))**(-0.5) # C=ub/u star
F = 0.31*Re*e**(-0.1*Re)+1.8*e**(-0.88*d50/D)*(1-e**(-0.1*Re))
A = F/C
for j in range(10000):
Dcbss = 0.52*math.tan(fi) / (((1 + (abs(n[j])*A))**2)*(1+(1/2.5)*((abs(n[j])*F)**2)*math.tan(fi)))
x.append(Re)
y.append(Dcbss)
plt.xscale('log')
plt.plot(x, y, 'ro', marker='o', markersize=0.7)
plt.show()
plt.close()
目前没有回答
相关问题 更多 >
编程相关推荐