I make a plot but in my plot i can show just few of my markers
x_time = chine["time"].copy()
x = chine.drop("time", axis=1)
y_static = chine["static"].copy()
plt.plot(x_time, y_static, marker='o', label='static')
y_stirring = chine["stirring"].copy()
plt.plot(x_time, y_stirring, marker='v', label='stirring')
y_ultrasound = chine["ultrasound"].copy()
plt.plot(x_time, y_ultrasound, marker='.', label='ultrasound')
plt.legend()
plt.xlabel("time")
when i change order the result is change but i cant show other markers enter image description here
If you want to show your points, you don't really have a choice but to use:
plt.plot(..., marker="o")
They should clearly show the points on your graph. If they aren't, then it means you have too little data points.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.