Skip to content

Commit ced3f11

Browse files
committed
Improve labels for simulation data analysis plots
1 parent f9b2543 commit ced3f11

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/simulate_planar_pcs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,15 +149,15 @@ def draw_robot(
149149
plt.plot(chi_ee_ts[0, :], chi_ee_ts[1, :])
150150
plt.axis("equal")
151151
plt.grid(True)
152-
plt.xlabel("x [m]")
153-
plt.ylabel("y [m]")
152+
plt.xlabel("End-effector x [m]")
153+
plt.ylabel("End-effector y [m]")
154154
plt.show()
155155
# plot end-effector position vs time
156156
plt.figure()
157157
plt.plot(video_ts, chi_ee_ts[:, 0], label="x")
158158
plt.plot(video_ts, chi_ee_ts[:, 1], label="y")
159159
plt.xlabel("Time [s]")
160-
plt.ylabel("Position [m]")
160+
plt.ylabel("End-effector Position [m]")
161161
plt.legend()
162162
plt.grid(True)
163163
plt.box(True)

0 commit comments

Comments
 (0)