-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
129 lcs plot #231
129 lcs plot #231
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Here is a quick test script for the CSM plot function: import matplotlib.pyplot as plt
import pandas as pd
from weldx import CoordinateSystemManager
csm = CoordinateSystemManager("root")
csm.create_cs("lcs 1", "root", coordinates=[2, 5, 6])
csm.create_cs_from_euler(
"lcs 2",
"root",
sequence="z",
angles=[0, 90, 270],
degrees=True,
coordinates=[[4, -2, 1], [-5, 6, 2], [3, 4, 2]],
time=["2010-02-01", "2010-02-05", "2010-02-08"],
)
new_times = pd.date_range(start="2010-02-01", end="2010-02-8", freq="6H")
csm.plot_coordinate_systems(
reference_system="root", time=new_times, show_axes=True, show_trace=True
)
plt.show() It's really interesting to see the trajectories if you change the reference coordinate system in the plot function to "lcs 1" :D |
Codecov Report
@@ Coverage Diff @@
## master #231 +/- ##
==========================================
+ Coverage 99.34% 99.39% +0.04%
==========================================
Files 72 71 -1
Lines 3968 3942 -26
==========================================
- Hits 3942 3918 -24
+ Misses 26 24 -2
Continue to review full report at Codecov.
|
Co-authored-by: Cagtay Fabry <43667554+CagtayFabry@users.noreply.github.com>
Hello @vhirtham! Thanks for updating this PR. There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2021-02-24 10:59:38 UTC |
Co-authored-by: Cagtay Fabry <43667554+CagtayFabry@users.noreply.github.com>
…o welding example
…cs_plot � Conflicts: � .binder/environment.yml
Co-authored-by: Cagtay Fabry <43667554+CagtayFabry@users.noreply.github.com>
@CagtayFabry Not sure here. In this PR, adding |
👍 |
Changes
Describe changes in this PR
Related Issues
Closes #129
Checks