|
184 | 184 | FY = FC.select_component(1) |
185 | 185 | FZ = FC.select_component(2) |
186 | 186 |
|
187 | | -plt.plot(t_vals, FX.get_field({"interface": 19, "idtype": 0}).data, label="FX, slave") |
188 | | -plt.plot(t_vals, FX.get_field({"interface": 19, "idtype": 1}).data, label="FX, master") |
189 | | -plt.plot(t_vals, FY.get_field({"interface": 19, "idtype": 0}).data, label="FY, slave") |
190 | | -plt.plot(t_vals, FY.get_field({"interface": 19, "idtype": 1}).data, label="FY, master") |
191 | | -plt.plot(t_vals, FZ.get_field({"interface": 19, "idtype": 0}).data, label="FZ, slave") |
192 | | -plt.plot(t_vals, FZ.get_field({"interface": 19, "idtype": 1}).data, label="FZ, master") |
| 187 | +plt.plot(t_vals, FX.get_field({"interface": 19, "idtype": 0}).data, label="FX, master") |
| 188 | +plt.plot(t_vals, FX.get_field({"interface": 19, "idtype": 1}).data, label="FX, slave") |
| 189 | +plt.plot(t_vals, FY.get_field({"interface": 19, "idtype": 0}).data, label="FY, master") |
| 190 | +plt.plot(t_vals, FY.get_field({"interface": 19, "idtype": 1}).data, label="FY, slave") |
| 191 | +plt.plot(t_vals, FZ.get_field({"interface": 19, "idtype": 0}).data, label="FZ, master") |
| 192 | +plt.plot(t_vals, FZ.get_field({"interface": 19, "idtype": 1}).data, label="FZ, slave") |
193 | 193 | plt.xlabel("Time ({:s})".format(t_field.unit)) |
194 | 194 | plt.xlim([0, 10]) |
195 | 195 | plt.ylabel("Contact Force ({:s})".format(FX.get_field({"interface": 19, "idtype": 0}).unit)) |
|
0 commit comments